/
opt
/
canhelp
/
node_modules
/
next
/
dist
/
build
/
segment-config
/
middleware
/
/opt/canhelp/node_modules/next/dist/build/segment-config/middleware
mkdir
upload
Name
Size
Mode
Actions
middleware-config.d.ts
632
0644
edit
dl
rm
middleware-config.js
3787
0644
edit
dl
rm
middleware-config.js.map
6656
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/dist/build/segment-config/middleware/middleware-config.d.ts
(632B)
import type { RouteHas } from '../../../lib/load-custom-routes'; export type MiddlewareConfigInput = { /** * The matcher for the middleware. */ matcher?: string | Array<{ locale?: false; has?: RouteHas[]; missing?: RouteHas[]; source: string; } | string>; /** * The regions that the middleware should run in. */ regions?: string | string[]; /** * A glob, or an array of globs, ignoring dynamic code evaluation for specific * files. The globs are relative to your application root folder. */ unstable_allowDynamic?: string | string[]; };
Save
cmd:
run