调整前端端口

This commit is contained in:
2024-03-27 20:39:43 +08:00
parent d70a8e3340
commit 025450a631
6 changed files with 13 additions and 13 deletions

View File

@@ -24,9 +24,9 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
)
app.listen(port, function () {
console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
console.log(chalk.green(`> Preview at http://152.136.42.114:${port}${publicPath}`))
if (report) {
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
console.log(chalk.green(`> Report at http://152.136.42.114:${port}${publicPath}report.html`))
}
})