mirror of
https://github.com/MCSManager/MCSManager.git
synced 2025-01-24 15:14:01 +08:00
Update app.ts
This commit is contained in:
parent
802641ed8f
commit
6a149a3dad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user