fix: keep public upload API unauthenticated
Deploy FileDrop / deploy (push) Successful in 37s
Deploy FileDrop / deploy (push) Successful in 37s
This commit is contained in:
+1
-1
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user