chore: version in constants

This commit is contained in:
2025-04-14 01:10:52 +07:00
parent 6cf4096064
commit 92cb93b4cb
2 changed files with 4 additions and 4 deletions

View File

@ -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 };
export { REFLECT4_SERVERS, VERSION };

View File

@ -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();