解决CDN异常

This commit is contained in:
2020-12-19 22:15:26 +08:00
parent 1449524d4e
commit 184347c4f9
5 changed files with 1765 additions and 1042 deletions

View File

@ -13,7 +13,7 @@ async function start () {
const nuxt = new Nuxt(config)
const {
host = process.env.HOST || '127.0.0.1',
host = process.env.HOST || '0.0.0.0',
port = process.env.PORT || 3000
} = nuxt.options.server