mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
Fill download page
Add Library Selector
This commit is contained in:
@@ -45,7 +45,7 @@ const apiUrl = ref(config.public.openFetch.api.baseURL);
|
||||
const reloading = ref(false);
|
||||
const setUrl = async () => {
|
||||
reloading.value = true;
|
||||
config.public.openFetch.api.baseURL = apiUrl.value;
|
||||
config.public.openFetch.api.baseURL = apiUrl.value.endsWith('/') ? apiUrl.value : apiUrl.value + '/';
|
||||
await refreshNuxtData();
|
||||
reloading.value = false;
|
||||
};
|
||||
|
Reference in New Issue
Block a user