cobalt/modules/config.js

18 lines
742 B
JavaScript
Raw Normal View History

2022-07-08 19:17:56 +01: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
export {appName, version, streamLifespan, maxVideoDuration, genericUserAgent, repo, authorInfo, services, supportedLanguages, quality, internetExplorerRedirect, donations}