Change default server port to 3600

This commit is contained in:
2026-10-09 16:51:51 +09:00
parent e358e24436
commit f09b661ac0
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export function parsePublicOrigin(value) {
export function readConfig(env = process.env) {
const distRoot = join(SOURCE_ROOT, 'dist');
const dbPath = privateDatabasePath(env.DB_PATH, distRoot);
const portText = env.PORT ?? '3000';
const portText = env.PORT ?? '3600';
if (!/^[0-9]+$/.test(portText) || +portText < 1 || +portText > 65535) throw new Error('Invalid PORT');
const port = +portText;
const host = env.HOST ?? '127.0.0.1';