mirror of
https://github.com/placeholder-soft/web.git
synced 2026-01-12 17:02:57 +08:00
Update route.ts (#1444)
This commit is contained in:
@@ -14,7 +14,7 @@ export const MAX_IMAGE_SIZE_IN_MB = 1; // max 1mb
|
||||
|
||||
export async function POST(request: NextRequest) {
|
||||
try {
|
||||
// Rerrer validation
|
||||
// Referer validation
|
||||
const requestUrl = new URL(request.url);
|
||||
|
||||
// Username must be provided
|
||||
|
||||
Reference in New Issue
Block a user