diff --git a/daemon/src/app.ts b/daemon/src/app.ts index a611a255..b6c05fac 100755 --- a/daemon/src/app.ts +++ b/daemon/src/app.ts @@ -8,10 +8,6 @@ import { Server, Socket } from "socket.io"; import { LOCAL_PRESET_LANG_PATH } from "./const"; import logger from "./service/log"; -import { StorageSubsystem } from "common"; -const a = new StorageSubsystem(); -console.log("XZXZXZX:", a); - initVersionManager(); const VERSION = getVersion(); @@ -29,7 +25,7 @@ _ /_/ // /_/ // __/ / / / / / /_/ / / / / /_____/ \\__,_/ \\___//_/ /_/ /_/\\____//_/ /_/ - + Copyright 2022 MCSManager Dev + + Copyright ${new Date().getFullYear()} MCSManager Dev + Version ${VERSION} `); diff --git a/panel/src/app.ts b/panel/src/app.ts index f615ef37..4184ddc9 100755 --- a/panel/src/app.ts +++ b/panel/src/app.ts @@ -1,7 +1,7 @@ import "module-alias/register"; // Initialize the version manager & i18n -import { $t, i18next } from "./app/i18n"; +import { $t } from "./app/i18n"; import { initVersionManager, getVersion } from "./app/version"; // Storage @@ -12,8 +12,6 @@ import { initSystemConfig, systemConfig } from "./app/setting"; import SystemUser from "./app/service/system_user"; import SystemRemoteService from "./app/service/system_remote_service"; -import fs from "fs"; - // Http server requirements import Koa from "koa"; import { v4 } from "uuid"; @@ -41,7 +39,6 @@ function setupHttp(koaApp: Koa, port: number, host?: string) { // The Socket service is not required // SocketService.setUpSocketIO(httpServer); - httpServer.listen(port, host); logger.info("=================================="); logger.info($t("TXT_CODE_app.panelStarted"));