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
@@ -103,7 +103,7 @@ test('strict month validation handles year bounds and December rollover', t => {
test('configuration requires explicit absolute private DB path and strict origin/port', t => {
const { dbPath } = fixture(t);
const config = readConfig({ DB_PATH: dbPath });
assert.deepEqual(config, { dbPath, distRoot: resolve('dist'), host: '127.0.0.1', port: 3000, publicOrigin: 'http://127.0.0.1:3000' });
assert.deepEqual(config, { dbPath, distRoot: resolve('dist'), host: '127.0.0.1', port: 3600, publicOrigin: 'http://127.0.0.1:3600' });
assert.equal(readConfig({ DB_PATH: dbPath, HOST: '0.0.0.0', PORT: '4010' }).host, '0.0.0.0');
assert.throws(() => readConfig({}));
assert.throws(() => readConfig({ DB_PATH: 'relative.sqlite' }));