Merge remote-tracking branch 'origin/main' into user-management

This commit is contained in:
Tzvetan Trave
2025-09-18 15:06:44 +02:00
8 changed files with 97 additions and 5 deletions

View File

@ -58,10 +58,10 @@ async function start() {
servers.push(user);
}
if (target === 'scoreScore' || target === 'all') {
if (target === 'scoreStore' || target === 'all') {
const score = Fastify({ logger: loggerOption('scoreStore') });
score.register(scoreApi);
const port = target === 'all' ? 3002 : 3000;
const port = target === 'all' ? 3003 : 3000;
const host = target === 'all' ? '127.0.0.1' : '0.0.0.0';
await score.listen({ port, host });
console.log(`ScoreStore API listening on http://${host}:${port}`);