fix: keep public upload API unauthenticated
Deploy FileDrop / deploy (push) Successful in 37s

This commit is contained in:
asepharyana
2026-07-08 01:59:41 +07:00
parent e8226bba64
commit 44e887c7cd
2 changed files with 31 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ const server = serve({
port: config.port,
routes: {
'/api/upload': {
POST: withRateLimit(requireAuth(handleUpload)),
POST: withRateLimit(handleUpload),
},
'/f/:public_id': {
GET: withRateLimit(handleFileRedirect),