161 lines
4.3 KiB
JSON
161 lines
4.3 KiB
JSON
{
|
|
"version": 3,
|
|
"pages404": true,
|
|
"caseSensitive": false,
|
|
"basePath": "",
|
|
"redirects": [
|
|
{
|
|
"source": "/:path+/",
|
|
"destination": "/:path+",
|
|
"internal": true,
|
|
"statusCode": 308,
|
|
"regex": "^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src 'self' https://supabase.silvioalzate.shop wss://supabase.silvioalzate.shop https://evolution.silvioalzate.shop https://n8n.silvioalzate.shop; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self'; frame-src 'self'; object-src 'none'; base-uri 'self'; form-action 'self'"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "strict-origin-when-cross-origin"
|
|
},
|
|
{
|
|
"key": "Permissions-Policy",
|
|
"value": "camera=(), microphone=(), geolocation=()"
|
|
}
|
|
],
|
|
"regex": "^(?:/(.*))(?:/)?$"
|
|
},
|
|
{
|
|
"source": "/api/:path*",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Robots-Tag",
|
|
"value": "noindex, nofollow"
|
|
}
|
|
],
|
|
"regex": "^/api(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))?(?:/)?$"
|
|
}
|
|
],
|
|
"rewrites": {
|
|
"beforeFiles": [],
|
|
"afterFiles": [],
|
|
"fallback": []
|
|
},
|
|
"dynamicRoutes": [
|
|
{
|
|
"page": "/dashboard/patients/[id]",
|
|
"regex": "^/dashboard/patients/([^/]+?)(?:/)?$",
|
|
"routeKeys": {
|
|
"nxtPid": "nxtPid"
|
|
},
|
|
"namedRegex": "^/dashboard/patients/(?<nxtPid>[^/]+?)(?:/)?$"
|
|
}
|
|
],
|
|
"staticRoutes": [
|
|
{
|
|
"page": "/",
|
|
"regex": "^/(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/_not-found",
|
|
"regex": "^/_not\\-found(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/_not\\-found(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard",
|
|
"regex": "^/dashboard(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/appointments",
|
|
"regex": "^/dashboard/appointments(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/appointments(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/calendar",
|
|
"regex": "^/dashboard/calendar(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/calendar(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/notifications",
|
|
"regex": "^/dashboard/notifications(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/notifications(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/patients",
|
|
"regex": "^/dashboard/patients(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/patients(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/procedures",
|
|
"regex": "^/dashboard/procedures(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/procedures(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/dashboard/settings",
|
|
"regex": "^/dashboard/settings(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/dashboard/settings(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/icon.png",
|
|
"regex": "^/icon\\.png(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/icon\\.png(?:/)?$"
|
|
},
|
|
{
|
|
"page": "/login",
|
|
"regex": "^/login(?:/)?$",
|
|
"routeKeys": {},
|
|
"namedRegex": "^/login(?:/)?$"
|
|
}
|
|
],
|
|
"dataRoutes": [],
|
|
"rsc": {
|
|
"header": "rsc",
|
|
"varyHeader": "rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch",
|
|
"prefetchHeader": "next-router-prefetch",
|
|
"didPostponeHeader": "x-nextjs-postponed",
|
|
"contentTypeHeader": "text/x-component",
|
|
"suffix": ".rsc",
|
|
"prefetchSuffix": ".prefetch.rsc",
|
|
"prefetchSegmentHeader": "next-router-segment-prefetch",
|
|
"prefetchSegmentSuffix": ".segment.rsc",
|
|
"prefetchSegmentDirSuffix": ".segments"
|
|
},
|
|
"rewriteHeaders": {
|
|
"pathHeader": "x-nextjs-rewritten-path",
|
|
"queryHeader": "x-nextjs-rewritten-query"
|
|
}
|
|
} |