Skip to content

Commit

Permalink
added fetching url from config on load
Browse files Browse the repository at this point in the history
  • Loading branch information
0PandaDEV committed May 7, 2024
1 parent 0d501d7 commit 2b66d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const { $music, $settings } = useNuxtApp()
const frequencies = [32, 64, 125, 250, 500, 1000, 2000, 4000, 8000, 16000];
const eqGains = ref(new Array(frequencies.length).fill(0.0));
const apiUrl = ref("");
const apiUrl = ref($settings.getApiURL());
function updateApiURL() {
$settings.setApiURL(apiUrl.value);
Expand Down

0 comments on commit 2b66d67

Please sign in to comment.