chore: ignore .codegraph index and allow LAN access for vite dev server

- .gitignore 增加 .codegraph/(本地代码索引,不进版本库)
- vite dev server 开启 host,便于局域网访问本地前端
This commit is contained in:
2026-09-02 17:11:52 +08:00
parent 875909bd1e
commit 61543a4a61
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -3,4 +3,5 @@ web/node_modules/
web/test-results/
.env
.dev-credentials/
.codegraph/
tmp/
+1
View File
@@ -5,6 +5,7 @@ import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
host: true,
port: 5173,
strictPort: true,
proxy: { "/api": "http://127.0.0.1:8082" },