feat: add profile ui and request telemetry
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
const uiRoot = fileURLToPath(new URL(".", import.meta.url));
|
||||
const repoRoot = fileURLToPath(new URL("..", import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
root: uiRoot,
|
||||
base: "/__codex_retry_gateway/ui/",
|
||||
plugins: [react()],
|
||||
build: {
|
||||
outDir: `${repoRoot}/public/ui`,
|
||||
emptyOutDir: true,
|
||||
},
|
||||
server: {
|
||||
port: 5174,
|
||||
proxy: {
|
||||
"/__codex_retry_gateway/api": "http://127.0.0.1:4610",
|
||||
"/__codex_retry_gateway/health": "http://127.0.0.1:4610",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user