Garage UI : interface web d'administration pour Garage (API v2 + CLI)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
fdd5555100
36 files changed
+8486
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` : le serveur Go tourne sur :8080.
|
||||
server: { proxy: { "/api": "http://localhost:8080" } },
|
||||
});
|
||||
Reference in new issue
Block a user