chore(FEAT-MO-002): 调整 Web 开发端口为 8888

This commit is contained in:
2026-08-24 17:49:19 +08:00
parent 1f6ed00e6f
commit f00e114f88
22 changed files with 409 additions and 4 deletions
+6
View File
@@ -16,4 +16,10 @@ describe('Vite 本地 API 代理', () => {
},
});
});
it('本地开发服务器只在回环地址严格监听 8888 端口', () => {
expect(viteConfig.server?.host).toBe('127.0.0.1');
expect(viteConfig.server?.port).toBe(8888);
expect(viteConfig.server?.strictPort).toBe(true);
});
});