diff --git a/site/src/routes/apps/index.svelte b/site/src/routes/apps/index.svelte index 5d5df4bf79..3c025f3b42 100644 --- a/site/src/routes/apps/index.svelte +++ b/site/src/routes/apps/index.svelte @@ -5,8 +5,8 @@ if (user) { let url = 'apps.json'; - if (page.query.offset) { - url += `?offset=${encodeURIComponent(page.query.offset)}`; + if (page.query.get('offset')) { + url += `?offset=${encodeURIComponent(page.query.get('offset'))}`; } const r = await fetch(url, { credentials: 'include'