Run on localhost
This commit is contained in:
parent
52127adb08
commit
7736846d86
@ -5,9 +5,8 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
// Run on 127.0.0.1
|
||||
// Proxy API requests to the backend
|
||||
server: {
|
||||
host: '127.0.0.1',
|
||||
proxy: {
|
||||
'/api': 'http://127.0.0.1:5252',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user