mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-13 18:44:45 +02:00
「🔨」 fix(start): fixed port for scoreStore
This commit is contained in:
@ -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}`);
|
||||
|
Reference in New Issue
Block a user