From 62f326f51a72044037022863f4fd9d4ea642fe9a Mon Sep 17 00:00:00 2001 From: rsandb Date: Wed, 28 Dec 2022 13:01:02 -0600 Subject: [PATCH] clean up changes --- website/src/middleware.ts | 2 +- website/src/pages/404.tsx | 2 -- website/src/pages/_app.tsx | 2 +- website/src/pages/account/edit.tsx | 8 +------- website/src/pages/account/index.tsx | 12 +++--------- website/src/pages/api/username.tsx | 2 +- 6 files changed, 7 insertions(+), 21 deletions(-) diff --git a/website/src/middleware.ts b/website/src/middleware.ts index 31c2cb4e..8e48d3b7 100644 --- a/website/src/middleware.ts +++ b/website/src/middleware.ts @@ -4,5 +4,5 @@ export { default } from "next-auth/middleware"; * Guards all pages under `/grading` and redirects them to the sign in page. */ export const config = { - matcher: ["/create/:path*", "/evaluate/:path*", "/grading/:path*", "/account/:path*", "/summarize/:path*"], + matcher: ["/create/:path*", "/evaluate/:path*", "/account/:path*"], }; diff --git a/website/src/pages/404.tsx b/website/src/pages/404.tsx index 80eee036..76fb0b67 100644 --- a/website/src/pages/404.tsx +++ b/website/src/pages/404.tsx @@ -11,11 +11,9 @@ export default function Error() { 404 - Open Assistant -

Sorry, the page you are looking for does not exist.

-