timetracker/frontend/vite.config.js

13 lines
242 B
JavaScript
Raw Normal View History

2023-01-25 10:48:17 +00:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
2023-01-25 10:44:04 +00:00
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
2023-01-25 10:48:17 +00:00
server: {
proxy: {
2023-01-25 11:47:39 +00:00
"/api": "http://127.0.0.1:8001",
2023-01-25 10:48:17 +00:00
},
},
});