From bc98364f597b87a4640a151641dd15cf932161c3 Mon Sep 17 00:00:00 2001 From: JamesChenX Date: Mon, 30 Dec 2024 22:03:28 +0800 Subject: [PATCH] Make the HTTP server of turms-admin listen on all available localhost addresses by default --- turms-admin/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turms-admin/package.json b/turms-admin/package.json index 3f6688627d..52f4be800d 100644 --- a/turms-admin/package.json +++ b/turms-admin/package.json @@ -25,7 +25,7 @@ "reload": "pm2 reload server/ecosystem.config.js", "report": "cross-env REPORT=true npm run build", "restart": "pm2 restart server/ecosystem.config.js", - "serve": "vite serve --port 6510", + "serve": "vite --host --port 6510", "start": "pm2 start server/ecosystem.config.js --env production", "stop": "pm2 stop server/ecosystem.config.js", "stylelint": "stylelint --fix ui/**/*.{vue,css,sss,less,scss,sass}",