We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ca5fb2 commit 220ba2fCopy full SHA for 220ba2f
src/main/offsetStore.ts
@@ -148,7 +148,7 @@ const lookupStore = new Store<IOffsetsLookup>({name: "lookup"});
148
async function fetchOffsetLookupJson(error: boolean = false): Promise<IOffsetsLookup> {
149
const GetUrl = SettingsStore.get('CDN_Url', 'nullUrl');
150
const CDN_Url = GetUrl == 'nullUrl' ? BASE_URL : GetUrl;
151
- const url = error ? BASE_URL_error : CDN_Url;
+ const url = error ? CDN_Url : BASE_URL_error;
152
return fetch(`${url}/lookup.json`)
153
.then((response) => response.json())
154
.then((data) => { return data as IOffsetsLookup })
0 commit comments