silverwolf-x's picture
download
raw
568 Bytes
import type { NextRequest, NextFetchEvent } from "next/server";
import middleware from "lib/middleware";
// eslint-disable-next-line
export default async function (req: NextRequest, ev: NextFetchEvent) {
return middleware(req, ev);
}
export const config = {
/*
* Match all paths except for:
* 1. /api routes
* 2. /_next (Next.js internals)
* 3. /sitecore/api (Sitecore API routes)
* 4. /- (Sitecore media)
* 5. all root files inside /public (e.g. /favicon.ico)
*/
matcher: ["/", "/((?!api/|_next/|sitecore/api/|-/|[\\w-]+\\.\\w+).*)"],
};

Xet Storage Details

Size:
568 Bytes
·
Xet hash:
01ce6e639bd5afff542e274a51bc9e6eefcffa2122b5fdbfcaa2c861a4b9703b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.