diff --git a/pages/mod-queue.page.server.tsx b/pages/mod-queue.page.server.tsx index 36dcfa3..ca51cae 100644 --- a/pages/mod-queue.page.server.tsx +++ b/pages/mod-queue.page.server.tsx @@ -21,11 +21,6 @@ export async function onBeforeRender(pageContext: PageContext) { report: "Game Reports", }; - const { searchParams } = new URL( - pageContext.urlOriginal, - "http://localhost:8788" - ); - const allowedTypes = []; for (const [type, ints] of Object.entries(typePermissions)) { @@ -41,10 +36,6 @@ export async function onBeforeRender(pageContext: PageContext) { status: 403, }; - const includeClosed = searchParams.get("includeClosed"); - const type = searchParams.get("type"); - const sort = searchParams.get("sort") ?? "asc"; - return { pageContext: { pageProps: {