From a4d564decd0a1a061dfec888dddfc2ec1bdeb437 Mon Sep 17 00:00:00 2001 From: BennyKok Date: Tue, 16 Jan 2024 01:02:48 +0800 Subject: [PATCH] fix: upload-url check auth --- web/src/app/(app)/api/[[...routes]]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/(app)/api/[[...routes]]/route.ts b/web/src/app/(app)/api/[[...routes]]/route.ts index 008fa9f..6d92a34 100644 --- a/web/src/app/(app)/api/[[...routes]]/route.ts +++ b/web/src/app/(app)/api/[[...routes]]/route.ts @@ -34,7 +34,7 @@ app.use("/run", async (c, next) => { return checkAuth(c, next); }); -app.use("/upload", async (c, next) => { +app.use("/upload-url", async (c, next) => { return checkAuth(c, next); });