web/api-url: rename defaultApiURL to officialApiURL

This commit is contained in:
wukko
2025-04-20 16:18:14 +06:00
parent 0f26d44d54
commit b0fba0dadb
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}