chore: clean up lint/type issues and tighten comment media URL validation

This commit is contained in:
Yusuf İpek
2026-02-23 16:06:43 +03:00
parent 609b33bbcb
commit d15e5192ac
19 changed files with 61 additions and 86 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ export function successResponse<T>(
return NextResponse.json(body, { status });
}
export function withCacheControl<T>(response: Response, value: string): Response {
export function withCacheControl(response: Response, value: string): Response {
response.headers.set('Cache-Control', value);
return response;
}