From 9a7b1f61d1d6492ac13a4705080a9e1069c17c60 Mon Sep 17 00:00:00 2001 From: lesion Date: Sat, 11 Jun 2022 11:59:06 +0200 Subject: [PATCH] baseurl in config (fix logo href) --- nuxt.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 2ec3f807..0d92a5e2 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,4 +1,5 @@ const config = require('./server/config.js') +config.load() const minifyTheme = require('minify-css-string').default const isDev = (process.env.NODE_ENV !== 'production') @@ -13,7 +14,7 @@ module.exports = { { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' } ], - link: [{ rel: 'icon', type: 'image/png', href: '/logo.png' }], + link: [{ rel: 'icon', type: 'image/png', href: config.baseurl + '/logo.png' }], script: [{ src: '/gancio-events.es.js', async: true, body: true }], }, dev: isDev,