2022-07-08 18:17:56 +00:00
|
|
|
import loadJson from "./sub/load-json.js";
|
|
|
|
|
|
|
|
let config = loadJson("./config.json");
|
|
|
|
let services = loadJson("./modules/services/all.json");
|
|
|
|
|
|
|
|
let appName = config.appName
|
|
|
|
let version = config.version
|
|
|
|
let streamLifespan = config.streamLifespan
|
|
|
|
let maxVideoDuration = config.maxVideoDuration
|
|
|
|
let genericUserAgent = config.genericUserAgent
|
|
|
|
let repo = config.repo
|
|
|
|
let authorInfo = config.authorInfo
|
|
|
|
let supportedLanguages = config.supportedLanguages
|
|
|
|
let quality = config.quality
|
|
|
|
let internetExplorerRedirect = config.internetExplorerRedirect
|
|
|
|
let donations = config.donations
|
2022-07-13 20:32:00 +00:00
|
|
|
let ffmpegArgs = config.ffmpegArgs
|
2022-07-08 18:17:56 +00:00
|
|
|
|
2022-07-13 20:32:00 +00:00
|
|
|
export {appName, version, streamLifespan, maxVideoDuration, genericUserAgent, repo, authorInfo, services, supportedLanguages, quality, internetExplorerRedirect, donations, ffmpegArgs}
|