refactor: load server settings from JSON configuration

This commit is contained in:
2026-10-30 16:55:11 +09:00
parent 31d6eac4c2
commit 28a45ff8e3
10 changed files with 104 additions and 28 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"host": "127.0.0.1",
"port": 3000,
"mongoUri": "mongodb://172.16.0.7:27017",
"mongoDatabase": "sunrise",
"visitStore": "mongo",
"allowedOrigins": [
"http://127.0.0.1:3000",
"http://localhost:3000",
"http://127.0.0.1:5173",
"http://localhost:5173"
]
}