diff options
author | Ajay Ramachandran <[email protected]> | 2020-02-08 22:19:07 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-02-08 22:19:07 -0500 |
commit | 6159605afd7416566122f2aa42b18f9c94fbdb38 (patch) | |
tree | 23bb5d2e2d596fd1faf48886beb3e319a1975b5a /src/config.ts | |
parent | 51d2886f701b30c2255241af0037f4e939ecb849 (diff) | |
parent | ceae02426d5ac7e0ab2c50f7e5f12a94d877eef4 (diff) | |
download | SponsorBlock-6159605afd7416566122f2aa42b18f9c94fbdb38.tar.gz SponsorBlock-6159605afd7416566122f2aa42b18f9c94fbdb38.zip |
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into typescript
# Conflicts:
# public/_locales/en/messages.json
# src/config.ts
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts index 1e56d5d6..cbb8d40f 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,3 +1,5 @@ +import * as CompileConfig from "../config.json"; + interface SBConfig { userID: string, sponsorTimes: SBMap<string, any>, @@ -21,6 +23,7 @@ interface SBConfig { invidiousUpdateInfoShowCount: number, autoUpvote: boolean, supportInvidious: boolean, + serverAddress: string, minDuration: number } @@ -115,6 +118,7 @@ var Config: SBObject = { invidiousUpdateInfoShowCount: 0, autoUpvote: true, supportInvidious: false, + serverAddress: CompileConfig.serverAddress, minDuration: 0 }, localConfig: null, |