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