mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix: use port 5001 for ui dev (#125)
This commit is contained in:
parent
a079827b84
commit
0b23a5a793
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ export default function koaUIProxy<
|
|||
const uiProxy: Middleware = isProduction
|
||||
? serveStatic(PATH_TO_UI_DIST)
|
||||
: proxy('*', {
|
||||
target: 'http://localhost:5000',
|
||||
target: 'http://localhost:5001',
|
||||
changeOrigin: true,
|
||||
logs: true,
|
||||
});
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"precommit": "lint-staged",
|
||||
"dev:tsc": "tsc -b -w --preserveWatchOutput",
|
||||
"dev:razzle": "razzle start",
|
||||
"dev": "PORT=5000 concurrently -c \"blue,cyan\" -k -n \"ui:tsc,ui:razzle\" \"pnpm:dev:tsc\" \"pnpm:dev:razzle\"",
|
||||
"dev": "PORT=5001 concurrently -c \"blue,cyan\" -k -n \"ui:tsc,ui:razzle\" \"pnpm:dev:tsc\" \"pnpm:dev:razzle\"",
|
||||
"start": "NODE_ENV=production node build/server.js",
|
||||
"build": "tsc -b && razzle build --noninteractive",
|
||||
"lint": "eslint --ext .ts --ext .tsx src",
|
||||
|
|
Loading…
Reference in a new issue