mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
baseurl in config (fix logo href)
This commit is contained in:
parent
6aaa8fa94d
commit
9a7b1f61d1
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue