allow connections from the mobile app while running in dev env

This commit is contained in:
Rasmus Krämer 2022-04-12 13:57:45 +02:00
parent 23cc6bb210
commit f5e892b862
No known key found for this signature in database
GPG Key ID: EC9E510611BFDAA2

View File

@ -136,6 +136,6 @@ module.exports = {
}, },
server: { server: {
port: process.env.NODE_ENV === 'production' ? 80 : 3000, port: process.env.NODE_ENV === 'production' ? 80 : 3000,
host: process.env.NODE_ENV === 'production' ? '0.0.0.0' : 'localhost' host: '0.0.0.0'
} }
} }