diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:12:48 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:12:48 +0200 |
| commit | dc20c2ba8377a90a3170642c9b3df6cd5166ad72 (patch) | |
| tree | 744a6ce5076fc3378ded6a08acca122637229afc /vite.config.ts | |
Initial commit
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..2160a6f --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,15 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react-swc' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()], + server: { + proxy: { + '^/api': { + target: 'http://localhost:7071', + changeOrigin: true + } + } + } +}) |
