mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
reintroduce proxy
This commit is contained in:
@@ -30,12 +30,12 @@ export default defineConfig(({ command }) => {
|
|||||||
port: 3000,
|
port: 3000,
|
||||||
proxy: {
|
proxy: {
|
||||||
// proxies requests to worker backend
|
// proxies requests to worker backend
|
||||||
// "/api": {
|
"/api": {
|
||||||
// target: "http://localhost:3001",
|
target: "http://localhost:3001",
|
||||||
// },
|
},
|
||||||
// "/fonts": {
|
"/fonts": {
|
||||||
// target: "http://localhost:3001/fonts",
|
target: "http://localhost:3001/fonts",
|
||||||
// },
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
Reference in New Issue
Block a user