feat: add full project - backend, frontend, docker, specs and configs
This commit is contained in:
parent
b77c7d5a01
commit
e6cb06255b
24489 changed files with 61341 additions and 36 deletions
19
frontend/vite.config.js
Normal file
19
frontend/vite.config.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
const apiHost = process.env.VITE_API_HOST ?? 'localhost';
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 5173,
|
||||
watch: {
|
||||
usePolling: true,
|
||||
ignored: ['**/public/imoveis/**'],
|
||||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: `http://${apiHost}:5000`,
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue