Update app.ts

This commit is contained in:
Unitwk 2022-08-08 10:19:07 +08:00 committed by GitHub
parent 802641ed8f
commit 6a149a3dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
// Copyright (C) 2022 MCSManager <mcsmanager-dev@outlook.com>
// Initialize the version manager
import { $t } from "./app/i18n";
import { initVersionManager, getVersion } from "./app/version";
initVersionManager();
const VERSION = getVersion();
@ -86,7 +87,7 @@ app.use(koaStatic(path.join(BASE_PATH, "public")));
// load all routes
import { index } from "./app/index";
import { $t } from "./app/i18n";
// Websocket routing (useless for now)
// import SocketService from "./app/service/socket_service";
index(app);