mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
chore: clean up lint/type issues and tighten comment media URL validation
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user