aboutsummaryrefslogtreecommitdiff
path: root/app/vite.config.ts
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-10 16:36:16 -0600
committerParker <contact@pkrm.dev>2024-11-10 16:36:16 -0600
commit691aa744a0398f185b3ca98a36fbd83806c7786c (patch)
tree7840f31c30bb6eda903abd6bbf4dbfb2ac590966 /app/vite.config.ts
parent8941213c8d94f3ad84e07e467e78105dc7fed734 (diff)
TOO MUCH STUFF
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r--app/vite.config.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/vite.config.ts b/app/vite.config.ts
new file mode 100644
index 0000000..a33bc01
--- /dev/null
+++ b/app/vite.config.ts
@@ -0,0 +1,14 @@
+import { defineConfig } from 'vite'
+import react from '@vitejs/plugin-react'
+
+// https://vite.dev/config/
+export default defineConfig({
+ plugins: [react()],
+
+ // Proxy to the backend server
+ server: {
+ proxy: {
+ '/api': 'http://localhost:5252',
+ },
+ },
+})