mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 02:54:44 +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') {
|
if (target === 'scoreStore' || target === 'all') {
|
||||||
const score = Fastify({ logger: loggerOption('scoreStore') });
|
const score = Fastify({ logger: loggerOption('scoreStore') });
|
||||||
score.register(scoreApi);
|
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';
|
const host = target === 'all' ? '127.0.0.1' : '0.0.0.0';
|
||||||
await score.listen({ port, host });
|
await score.listen({ port, host });
|
||||||
console.log(`ScoreStore API listening on http://${host}:${port}`);
|
console.log(`ScoreStore API listening on http://${host}:${port}`);
|
||||||
|
Reference in New Issue
Block a user