0
0
Fork 0

起動メッセージを変更

This commit is contained in:
Xeltica 2023-03-29 02:18:45 +09:00
parent f97de561ff
commit 9949516c26
3 changed files with 4 additions and 8 deletions

View file

@ -13,9 +13,8 @@ import 'reflect-metadata';
export default (): void => {
const app = new Koa();
console.log('Misskey Tools v' + meta.version);
console.log('Initializing DB connection...');
console.log(`** Misskey Tools ${meta.version} **`);
console.log('(C) Shrimpia Network');
app.use(render);
app.use(bodyParser());
@ -37,8 +36,8 @@ export default (): void => {
app.use(router.routes());
app.use(router.allowedMethods());
console.log(`listening port ${config.port}...`);
console.log('App launched!');
console.log('GET READY!');
console.log(`Server URL >> ${config.url}`);
app.listen(config.port || 3000);
};

View file

@ -23,7 +23,6 @@ export const initDb = async (force = false): Promise<Connection> => {
return Promise.resolve(conn);
} catch (e) {
// noop
console.warn('connection is not found, so create');
}
}