summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2026-10-17 20:10:30 -0400
committerAAGaming <aagaming@riseup.net>2026-10-17 20:10:30 -0400
commit7611e381a8e3717d3b8a77b299c22042b9c97ea6 (patch)
treebfc839383c4f446255be003223c28fa5109a280a /frontend/src
parentd38bf3478310d2aeddf9d0f62718c8786ef432a9 (diff)
downloaddecky-loader-7611e381a8e3717d3b8a77b299c22042b9c97ea6.tar.gz
decky-loader-7611e381a8e3717d3b8a77b299c22042b9c97ea6.zip
make url scheme compatible
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/store.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/frontend/src/store.tsx b/frontend/src/store.tsx
index cd880789..55017a66 100644
--- a/frontend/src/store.tsx
+++ b/frontend/src/store.tsx
@@ -53,7 +53,7 @@ export async function getStore(): Promise<Store> {
export async function getStoreBaseURL(): Promise<string> {
let store = await getSetting<Store | null>('store', null);
- let customURL = await getSetting<string>('store-url', 'https://plugins.deckbrew.xyz');
+ let customURL = await getSetting<string>('store-url', 'https://plugins.deckbrew.xyz/plugins');
let storeURL;
if (store === null) {
console.log('Could not get store, using Default.');
@@ -62,17 +62,17 @@ export async function getStoreBaseURL(): Promise<string> {
}
switch (+store) {
case Store.Default:
- storeURL = 'https://plugins.deckbrew.xyz';
+ storeURL = 'https://plugins.deckbrew.xyz/plugins';
break;
case Store.Testing:
- storeURL = 'https://testing.deckbrew.xyz';
+ storeURL = 'https://testing.deckbrew.xyz/plugins';
break;
case Store.Custom:
storeURL = customURL;
break;
default:
console.error('Somehow you ended up without a standard URL, using the default URL.');
- storeURL = 'https://plugins.deckbrew.xyz';
+ storeURL = 'https://plugins.deckbrew.xyz/plugins';
break;
}
return storeURL;
@@ -91,7 +91,7 @@ export async function getPluginList(
const storeURL = await getStoreBaseURL();
- return fetch(storeURL + '/plugins' + query, {
+ return fetch(storeURL + query, {
method: 'GET',
headers: {
'X-Decky-Version': version.current,