parent
e3ce61a4a3
commit
25349c33e3
2 changed files with 13 additions and 1 deletions
12
frontend/vite.config.js
Normal file
12
frontend/vite.config.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:3000',
|
||||
changeOrigin: true,
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue