Skip to content
Snippets Groups Projects
Commit 1a9797cd authored by David Mendez's avatar David Mendez
Browse files

Rename config var crom PRIMARY_DOMAIN to CANONICAL_DOMAIN

parent 6c628bca
No related branches found
No related tags found
1 merge request!43Improve color contrast and other fixes
......@@ -57,7 +57,7 @@ export default {
entityBrowserStateUrlTemplate:
process.env.ENTITY_BROWSER_STATE_URL_TEMPLATE ||
'/<BROWSER_NAME>/browse/<GENERATED_STATE>',
primaryDomain: process.env.PRIMARY_DOMAIN || '0.0.0.0:3000',
canonicalDomain: process.env.CANONICAL_DOMAIN || '0.0.0.0:3000',
},
// Global CSS: https://go.nuxtjs.dev/config-css
......
......@@ -15,10 +15,10 @@ export default {
'Read the accessibility statement for the EUbOPEN Portal.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -78,10 +78,10 @@ export default {
'Read the acknowledgement statement for the EUbOPEN Portal.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -51,7 +51,7 @@ export default {
const titleText = `${EntityNames.EubopenCompound.singularEntityName} ${name}`
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const chemblID = this.rawMetadata.molecule_chembl_id
const generatedImageFilePath = ObjectPropertyAccess.getPropertyPalue(
......
......@@ -21,10 +21,10 @@ export default {
const descriptionText =
'The EUbOPEN consortium is an Innovative Medicines Initiative (IMI) funded project to enable and unlock biology in the open.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
title: titleText,
......
......@@ -64,10 +64,10 @@ export default {
const descriptionText = 'Read the cookie statement for the EUbOPEN Portal.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -19,10 +19,10 @@ export default {
'Read the disclaimer statement for the EUbOPEN Portal.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -58,10 +58,10 @@ export default {
const descriptionText =
'The EUbOPEN consortium is an Innovative Medicines Initiative (IMI) funded project to enable and unlock biology in the open.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -27,10 +27,10 @@ export default {
const descriptionText = 'Read the privacy notice for the EUbOPEN Portal.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
meta: [
......
......@@ -82,10 +82,10 @@ export default {
const titleText = `${EntityNames.EubopenTarget.singularEntityName} ${name}`
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
......
......@@ -20,10 +20,10 @@ export default {
const descriptionText =
'The EUbOPEN consortium is an Innovative Medicines Initiative (IMI) funded project to enable and unlock biology in the open.'
const canonicalURL =
`https://${process.env.primaryDomain}` + this.$route.path
`https://${process.env.canonicalDomain}` + this.$route.path
const imgURL = `https://${
process.env.primaryDomain
process.env.canonicalDomain
}${require('~/static/img/logo.png')}`
return {
title: titleText,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment