Fix: server nuxt client directly without proxy

This commit is contained in:
Aram Becker 2023-05-02 10:44:32 +02:00
parent 57994ffb5b
commit a8b7c56bec
7 changed files with 30 additions and 49 deletions

View file

@ -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'
},