chore: 修改开发服务器端口为5150
- 将Vite开发服务器端口从5173改为5150 - 避免端口冲突,提供独立的开发环境 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ export default defineConfig({
|
|||||||
// 开发服务器配置
|
// 开发服务器配置
|
||||||
server: {
|
server: {
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
port: 5173, // Frontend port, different from backend
|
port: 5150, // Frontend port, different from backend
|
||||||
strictPort: true,
|
strictPort: true,
|
||||||
// API代理配置
|
// API代理配置
|
||||||
proxy: {
|
proxy: {
|
||||||
|
|||||||
Reference in New Issue
Block a user