ui fixes, input fixes, better dev workflow
All checks were successful
Deploy / deploy (push) Successful in 2m2s
Security Tests / security-non-db (push) Successful in 20s
Security Tests / security-db (push) Successful in 24s

This commit is contained in:
2026-03-10 23:01:44 -05:00
parent 809b75ea4e
commit 72334b2583
19 changed files with 319 additions and 61 deletions

View File

@@ -1,20 +1,22 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
import { defineConfig, loadEnv } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [
react(),
tailwindcss(),
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const proxyTarget = env.VITE_PROXY_TARGET || "http://localhost:8081";
],
server: {
proxy: {
"/api": {
target: "http://localhost:8080",
changeOrigin: true,
return {
plugins: [react(), tailwindcss()],
server: {
proxy: {
"/api": {
target: proxyTarget,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ""),
},
},
},
},
})
};
});