Skip to content
Snippets Groups Projects
Commit 1745a738 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Merge branch 'seo' into 'main'

Seo

See merge request !17
parents cd0b10ea 619cb27d
No related branches found
No related tags found
1 merge request!17Seo
Pipeline #125920 passed
.vscode
**/*.code-workspace
\ No newline at end of file
**/*.code-workspace
.env
supabase/volumes
\ No newline at end of file
......@@ -41,7 +41,7 @@ spec:
protocol: TCP
env:
- name: NUXT_SERVER_SIDE_API_BASE_URL
value: {{ .Values.serverSideApiBaseUrl }}
value: {{ include "nuxt.fullname" . }}
livenessProbe:
httpGet:
path: /
......
......@@ -84,4 +84,3 @@ tolerations: []
affinity: {}
serverSideApiBaseUrl: "https://website-k8sprod-02-djangoninja:8000"
......@@ -69,7 +69,6 @@ nuxt:
requests:
cpu: 200m
memory: 256Mi
serverSideApiBaseUrl: "https://website-k8sdev-01-djangoninja:8000"
wiki:
service:
......
......@@ -57,7 +57,6 @@ nuxt:
requests:
cpu: 1000m
memory: 1Gi
serverSideApiBaseUrl: "https://website-k8sprod-02-djangoninja:8000"
postgresql:
......
......@@ -19,6 +19,7 @@ export default defineNuxtConfig({
'vuetify-nuxt-module',
'@nuxtjs/plausible',
"nuxt-security",
'@nuxtjs/seo',
// "nuxt-csurf",
],
css: [
......@@ -28,7 +29,12 @@ export default defineNuxtConfig({
'@vue-flow/controls/dist/style.css',
],
site: {
url: 'https://defensefinder.mdmlab.fr',
name: 'DefenseFinder webservice and knowledge base',
description: 'On this site, you can freely use (without any login) the DefenseFinder webservice (see below) and get help to navigate the ever expanding world of defense systems.There is a collaborative knowledge base of defense systems that provide essential information on any given defense systems',
defaultLocale: 'en', // not needed if you have @nuxtjs/i18n installed
},
security: {
// csrf: {
// // https: false,
......
This diff is collapsed.
......@@ -11,6 +11,7 @@
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxtjs/plausible": "^0.2.4",
"@nuxtjs/seo": "^2.0.0-rc.9",
"@types/node": "^20.11.6",
"nuxt": "^3.9.3",
"nuxt-security": "^0.14.2",
......
......@@ -481,7 +481,6 @@ const selectedResult = ref(null);
Hmmer
</v-btn>
</v-btn-toggle>
<!-- <NuxtLink :to="`/analyses/${analysis.id}/genes`">Genes</NuxtLink> -->
</v-card-text>
</template>
<NuxtPage />
......
......@@ -10,7 +10,6 @@ export default defineNuxtPlugin(() => {
const url = `${runtimeConfig.serverSideApiBaseUrl}api/analysis/login`
const { data: session } = await useFetch<{ session: 'ok', expire_date: string }>(url)
if (session.value !== null) sessionExpiryDate.value = session.value?.expire_date
} else {
const { data: session } = await useFetch<{ session: 'ok', expire_date: string }>("/api/analysis/login")
console.log(session)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment