web/env: rename apiURL to defaultApiURL
references to it are now easier to read and understand
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { get } from "svelte/store";
|
||||
|
||||
import env, { apiURL } from "$lib/env";
|
||||
import settings from "$lib/state/settings";
|
||||
import env, { defaultApiURL } from "$lib/env";
|
||||
|
||||
export const currentApiURL = () => {
|
||||
const processingSettings = get(settings).processing;
|
||||
@@ -15,5 +14,5 @@ export const currentApiURL = () => {
|
||||
return new URL(env.DEFAULT_API).origin;
|
||||
}
|
||||
|
||||
return new URL(apiURL).origin;
|
||||
return new URL(defaultApiURL).origin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user