Skip to content

Commit 2d36ec0

Browse files
committed
UI: pick a stable, project-unique dev port (5180 -> 7788)
`sha1('disk-tree') % 6000 + 4000` keeps per-project ports out of the crowded 5xxx range so concurrent dev servers don't collide.
1 parent 4d02d24 commit 2d36ec0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ui/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default defineConfig({
66
plugins: [react()],
77

88
server: {
9-
port: 5180,
9+
// sha1('disk-tree') % 6000 + 4000
10+
port: 7788,
1011
strictPort: true, // Exit with error if port is already in use
1112
proxy: {
1213
'/api': {

0 commit comments

Comments
 (0)