mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-22 01:01:38 +00:00
Fix: server nuxt client directly without proxy
This commit is contained in:
parent
57994ffb5b
commit
a8b7c56bec
7 changed files with 30 additions and 49 deletions
|
|
@ -117,11 +117,11 @@ module.exports = ({ command }) => ({
|
|||
background_color: '#373838',
|
||||
icons: [
|
||||
{
|
||||
src: '/icon.svg',
|
||||
src: 'icon.svg',
|
||||
sizes: "any"
|
||||
},
|
||||
{
|
||||
src: '/icon64.png',
|
||||
src: 'icon64.png',
|
||||
type: "image/png",
|
||||
sizes: "64x64"
|
||||
}
|
||||
|
|
@ -151,7 +151,7 @@ module.exports = ({ command }) => ({
|
|||
}
|
||||
},
|
||||
server: {
|
||||
port: process.env.CLIENT_PORT || 3000,
|
||||
port: process.env.NODE_ENV === 'production' ? 80 : 3000,
|
||||
host: '0.0.0.0'
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue