internal changes only
- remade config module - renamed loc to i18n because that's what all developers do - moved code to src to make repo look cleaner - fixed some i18n strings
This commit is contained in:
17
src/modules/config.js
Normal file
17
src/modules/config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import loadJson from "./sub/load-json.js";
|
||||
const config = loadJson("./src/config.json");
|
||||
|
||||
export const
|
||||
services = loadJson("./src/modules/services/all.json"),
|
||||
appName = config.appName,
|
||||
version = config.version,
|
||||
streamLifespan = config.streamLifespan,
|
||||
maxVideoDuration = config.maxVideoDuration,
|
||||
genericUserAgent = config.genericUserAgent,
|
||||
repo = config.repo,
|
||||
authorInfo = config.authorInfo,
|
||||
supportedLanguages = config.supportedLanguages,
|
||||
quality = config.quality,
|
||||
internetExplorerRedirect = config.internetExplorerRedirect,
|
||||
donations = config.donations,
|
||||
ffmpegArgs = config.ffmpegArgs
|
||||
Reference in New Issue
Block a user