🔨」 fix(start): fixed port for scoreStore

This commit is contained in:
2025-09-13 13:15:27 +02:00
parent 9d7ce7f2df
commit 4900db1e98

View File

@ -61,7 +61,7 @@ async function start() {
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}`);