mirror of
https://github.com/mfts/papermark.git
synced 2025-12-20 01:03:24 +08:00
fix: middleware
This commit is contained in:
@@ -31,6 +31,7 @@ export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
|
||||
if (
|
||||
path !== "/" &&
|
||||
path !== "/privacy" &&
|
||||
path !== "/oss-friends" &&
|
||||
!path.startsWith("/alternatives/") &&
|
||||
!path.startsWith("/blog/") &&
|
||||
!path.startsWith("/view/")
|
||||
|
||||
Reference in New Issue
Block a user