2023-07-06 17:18:41 +03:30
|
|
|
abstract class Constants {
|
2023-09-14 15:20:48 +03:30
|
|
|
static const appName = "Hiddify Next";
|
2023-08-19 22:27:23 +03:30
|
|
|
static const geoipFileName = "geoip.db";
|
|
|
|
|
static const geositeFileName = "geosite.db";
|
|
|
|
|
static const configsFolderName = "configs";
|
|
|
|
|
static const localHost = "127.0.0.1";
|
2023-07-22 16:02:06 +03:30
|
|
|
static const githubUrl = "https://github.com/hiddify/hiddify-next";
|
2023-07-27 18:03:41 +03:30
|
|
|
static const githubReleasesApiUrl =
|
|
|
|
|
"https://api.github.com/repos/hiddify/hiddify-next/releases";
|
|
|
|
|
static const githubLatestReleaseUrl =
|
|
|
|
|
"https://github.com/hiddify/hiddify-next/releases/latest";
|
2023-07-22 16:02:06 +03:30
|
|
|
static const telegramChannelUrl = "https://t.me/hiddify";
|
2023-07-06 17:18:41 +03:30
|
|
|
}
|
2023-08-19 22:27:23 +03:30
|
|
|
|
|
|
|
|
abstract class Defaults {
|
|
|
|
|
static const clashApiPort = 9090;
|
|
|
|
|
static const mixedPort = 2334;
|
2023-08-24 14:48:19 +03:30
|
|
|
static const connectionTestUrl = "https://www.gstatic.com/generate_204";
|
|
|
|
|
static const concurrentTestCount = 5;
|
2023-08-19 22:27:23 +03:30
|
|
|
}
|