2022-07-17 12:21:51 +01:00
|
|
|
import loadJson from "./sub/loadJSON.js";
|
2022-07-17 12:08:49 +01:00
|
|
|
const config = loadJson("./src/config.json");
|
2022-07-28 17:03:17 +01:00
|
|
|
const packageJson = loadJson("./package.json");
|
2022-07-17 12:08:49 +01:00
|
|
|
|
|
|
|
export const
|
2022-08-04 12:22:40 +01:00
|
|
|
services = loadJson("./src/modules/servicesConfig.json"),
|
2022-07-28 17:03:17 +01:00
|
|
|
appName = packageJson.name,
|
|
|
|
version = packageJson.version,
|
2022-07-17 12:08:49 +01:00
|
|
|
streamLifespan = config.streamLifespan,
|
|
|
|
maxVideoDuration = config.maxVideoDuration,
|
|
|
|
genericUserAgent = config.genericUserAgent,
|
2022-07-28 17:03:17 +01:00
|
|
|
repo = packageJson["bugs"]["url"].replace('/issues', ''),
|
2022-07-17 12:08:49 +01:00
|
|
|
authorInfo = config.authorInfo,
|
|
|
|
supportedLanguages = config.supportedLanguages,
|
|
|
|
quality = config.quality,
|
|
|
|
internetExplorerRedirect = config.internetExplorerRedirect,
|
|
|
|
donations = config.donations,
|
2022-08-12 14:36:19 +01:00
|
|
|
ffmpegArgs = config.ffmpegArgs,
|
|
|
|
supportedAudio = config.supportedAudio
|