mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
migrate to typescript
This commit is contained in:
committed by
Dainius Dauksevicius
parent
c462323dd5
commit
08d27265fc
9
index.ts
Normal file
9
index.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import {config} from "./src/config";
|
||||
import {initDb} from './src/databases/databases';
|
||||
import {createServer} from "./src/app";
|
||||
import {Logger} from "./src/utils/logger";
|
||||
|
||||
initDb();
|
||||
createServer(() => {
|
||||
Logger.info("Server started on port " + config.port + ".");
|
||||
});
|
||||
Reference in New Issue
Block a user