forked from mirrors/misskey
Pre-render ReDoc
redoc-cliはexpandResponsesは200のみとすると数値と認識されてしまい設定できないため202,204という指定にしています
This commit is contained in:
8
src/tools/index.ts
Normal file
8
src/tools/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { initDb } from '../db/postgre';
|
||||
import 'reflect-metadata';
|
||||
|
||||
console.log('Connecting DB...')
|
||||
initDb().then(() => {
|
||||
console.log('Connedted!')
|
||||
require(`./${process.argv[2]}`).default();
|
||||
});
|
||||
Reference in New Issue
Block a user