Загрузить файлы в «frontend»

This commit is contained in:
Gregory Bednov 2026-06-20 13:28:03 +03:00
commit a5ce5a58de
5 changed files with 1915 additions and 0 deletions

14
frontend/vite.config.ts Normal file
View file

@ -0,0 +1,14 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/api": {
target: process.env.VITE_GRAPH_API_URL ?? "http://127.0.0.1:8765",
changeOrigin: true,
},
},
},
});