diff options
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r-- | app/vite.config.ts | 14 |
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', + }, + }, +}) |