Up And Down : première version
This commit is contained in:
commit
89c5430308
76 files changed
+20730
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
// Le build est embarqué dans le binaire Go (web/dist).
|
||||
build: { outDir: "../web/dist", emptyOutDir: true },
|
||||
// `npm run dev` : l'API Go tourne sur :8080 (les routes /s, /auth et /api passent par le proxy).
|
||||
server: { proxy: { "/api": "http://localhost:8080", "/auth": "http://localhost:8080", "/s": "http://localhost:8080" } },
|
||||
});
|
||||
Reference in new issue
Block a user