管理台可以密码登录、按角色进入,并把 Watchman 会话 token 交给浏览器。HXOPS 真实跳转仍未联调。 Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
392 B
TypeScript
17 lines
392 B
TypeScript
import { defineConfig } from "vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [vue(), tailwindcss()],
|
|
server: {
|
|
host: "127.0.0.1",
|
|
port: 5173,
|
|
proxy: {
|
|
"/health": "http://127.0.0.1:8000",
|
|
"/platform": "http://127.0.0.1:8000",
|
|
"/auth": "http://127.0.0.1:8000",
|
|
},
|
|
},
|
|
});
|