mirror of
https://github.com/wukko/cobalt.git
synced 2025-04-29 22:14:26 +02:00
web/api-url: rename defaultApiURL to officialApiURL
This commit is contained in:
parent
0f26d44d54
commit
b0fba0dadb
@ -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;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ const docs = {
|
||||
apiLicense: "https://github.com/imputnet/cobalt/blob/main/api/LICENSE",
|
||||
};
|
||||
|
||||
const defaultApiURL = "https://api.cobalt.tools";
|
||||
const officialApiURL = "https://api.cobalt.tools";
|
||||
|
||||
export { donate, defaultApiURL, contacts, partners, siriShortcuts, docs };
|
||||
export { donate, officialApiURL, contacts, partners, siriShortcuts, docs };
|
||||
export default variables;
|
||||
|
Loading…
x
Reference in New Issue
Block a user