feat: robots.txt
This commit is contained in:
+1
-2
@@ -55,8 +55,7 @@ export default async function middleware(req: NextRequest) {
|
||||
pathname.startsWith("/locales/") ||
|
||||
pathname.match(/^\/(workbox|worker|fallback)-\w+\.js(\.map)?$/) ||
|
||||
pathname === "/sw.js" ||
|
||||
pathname === "/sw.js.map" ||
|
||||
pathname === "/robots.txt"
|
||||
pathname === "/sw.js.map"
|
||||
) {
|
||||
return NextResponse.next()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user