From 5b4ec1924a3b89b062a1a45e69ac3944392a2a05 Mon Sep 17 00:00:00 2001 From: Guryash Date: Wed, 11 Dec 2024 12:32:15 +1300 Subject: [PATCH] fix: middleware --- api/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/index.ts b/api/index.ts index f8a2b9a..1580eea 100644 --- a/api/index.ts +++ b/api/index.ts @@ -67,8 +67,8 @@ app.use( ); // Supertokens middleware. -// app.use(middleware()); -// app.use(express.static("public")); +app.use(middleware()); +app.use(express.static("public")); // @Ratchet7x5: INFO: Use JSON parser for all non-webhook routes // otherwise, webhook and db entries will fail