feat: add admin panel, Openinary media integration and standardized footer backlink

This commit is contained in:
mstfyldz
2026-08-23 01:40:48 +03:00
parent 17915cd3d5
commit b312bc5593
29 changed files with 1405 additions and 41 deletions
+3 -5
View File
@@ -10,11 +10,12 @@ function getLocale(request: NextRequest): string {
export function proxy(request: NextRequest) {
const pathname = request.nextUrl.pathname;
// Skip public files and _next requests
// Skip public files, _next requests, api and admin routes
if (
pathname.startsWith('/_next') ||
pathname.includes('.') ||
pathname.startsWith('/api')
pathname.startsWith('/api') ||
pathname.startsWith('/admin')
) {
return;
}
@@ -32,6 +33,3 @@ export function proxy(request: NextRequest) {
}
}
export const config = {
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'],
};