mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update dev config (#857)
This commit is contained in:
@@ -13,22 +13,22 @@ export default defineConfig({
|
||||
],
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 3000,
|
||||
port: 3001,
|
||||
proxy: {
|
||||
"^/api": {
|
||||
target: "http://localhost:8080/",
|
||||
target: "http://localhost:8081/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"^/o/": {
|
||||
target: "http://localhost:8080/",
|
||||
target: "http://localhost:8081/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"^/h/": {
|
||||
target: "http://localhost:8080/",
|
||||
target: "http://localhost:8081/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"^/u/\\d*/rss.xml": {
|
||||
target: "http://localhost:8080/",
|
||||
target: "http://localhost:8081/",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user