mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 20:59:59 +00:00
2212ea7dc8
- moved pattern testers out of match module (thanks you @radkii) - button borders are now easier to see the reason this commit exists is because i tried to implement a language picker and failed to do it properly so here we are
19 lines
680 B
JavaScript
19 lines
680 B
JavaScript
import loadJson from "./sub/loadJSON.js";
|
|
const config = loadJson("./src/config.json");
|
|
const packageJson = loadJson("./package.json");
|
|
|
|
export const
|
|
services = loadJson("./src/modules/servicesConfig.json"),
|
|
appName = packageJson.name,
|
|
version = packageJson.version,
|
|
streamLifespan = config.streamLifespan,
|
|
maxVideoDuration = config.maxVideoDuration,
|
|
genericUserAgent = config.genericUserAgent,
|
|
repo = packageJson["bugs"]["url"].replace('/issues', ''),
|
|
authorInfo = config.authorInfo,
|
|
supportedLanguages = config.supportedLanguages,
|
|
quality = config.quality,
|
|
internetExplorerRedirect = config.internetExplorerRedirect,
|
|
donations = config.donations,
|
|
ffmpegArgs = config.ffmpegArgs
|