diff --git a/src/constants.ts b/src/constants.ts index 52c301b..60ac170 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,4 @@ +const VERSION = "0.1.0"; const REFLECT4_SERVERS = [ "https://www.blockaway.net", "https://www.croxyproxy.com", @@ -9,4 +10,4 @@ const REFLECT4_SERVERS = [ "https://proxyium.com" ]; -export { REFLECT4_SERVERS }; \ No newline at end of file +export { REFLECT4_SERVERS, VERSION }; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index a75bfa2..0f58979 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,10 +3,9 @@ import fs from 'node:fs'; import * as reflect4 from "./proxy/reflect4.js"; import logger from "./logger.js"; import Config from "./config.js"; +import { VERSION } from "./constants.js"; -const version = "0.1.0"; - -logger.info(`Castorsrm v${version} - https://github.com/teppyboy/castorsrm`) +logger.info(`Castorsrm v${VERSION}`) logger.warn("This software is provided by the author as is, without any warranty. Use at your own risk."); let config = new Config();