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