web/api-url: rename defaultApiURL to officialApiURL
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { get } from "svelte/store";
|
||||
import settings from "$lib/state/settings";
|
||||
import env, { defaultApiURL } from "$lib/env";
|
||||
import env, { officialApiURL } from "$lib/env";
|
||||
|
||||
export const currentApiURL = () => {
|
||||
const processingSettings = get(settings).processing;
|
||||
@@ -14,5 +14,5 @@ export const currentApiURL = () => {
|
||||
return new URL(env.DEFAULT_API).origin;
|
||||
}
|
||||
|
||||
return new URL(defaultApiURL).origin;
|
||||
return new URL(officialApiURL).origin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user