mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 13:37:04 +03:00
Change the way server address defaults are handled.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import * as CompileConfig from "../config.json";
|
||||
|
||||
interface SBConfig {
|
||||
userID: string,
|
||||
sponsorTimes: SBMap<string, any>,
|
||||
@@ -20,7 +22,7 @@ interface SBConfig {
|
||||
invidiousUpdateInfoShowCount: number,
|
||||
autoUpvote: boolean,
|
||||
supportInvidious: false,
|
||||
customServerAddress: string,
|
||||
serverAddress: string,
|
||||
minDuration: number
|
||||
}
|
||||
|
||||
@@ -114,7 +116,7 @@ var Config: SBObject = {
|
||||
invidiousUpdateInfoShowCount: 0,
|
||||
autoUpvote: true,
|
||||
supportInvidious: false,
|
||||
customServerAddress: null,
|
||||
serverAddress: CompileConfig.serverAddress,
|
||||
minDuration: 0
|
||||
},
|
||||
localConfig: null,
|
||||
|
||||
Reference in New Issue
Block a user