fix: stop .gitignore from excluding build/.next (site 502/blank after deploy)
.gitignore's ".next/" rule (no leading slash) matched at any depth, so build/.next was silently excluded from every commit even though build.sh populates it. The Docker image was built without the compiled server/static output, so server.js had nothing to serve. Anchor the rule to the repo root and commit the compiled output that Dokploy actually needs.
This commit is contained in:
174
build/.next/routes-manifest.json
Normal file
174
build/.next/routes-manifest.json
Normal file
@@ -0,0 +1,174 @@
|
||||
{
|
||||
"version": 3,
|
||||
"pages404": true,
|
||||
"appType": "app",
|
||||
"caseSensitive": false,
|
||||
"basePath": "",
|
||||
"redirects": [
|
||||
{
|
||||
"source": "/:path+/",
|
||||
"destination": "/:path+",
|
||||
"internal": true,
|
||||
"priority": true,
|
||||
"statusCode": 308,
|
||||
"regex": "^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$"
|
||||
},
|
||||
{
|
||||
"source": "/air-freight",
|
||||
"destination": "/doormile-wings",
|
||||
"statusCode": 308,
|
||||
"regex": "^(?!/_next)/air-freight(?:/)?$"
|
||||
}
|
||||
],
|
||||
"headers": [],
|
||||
"onMatchHeaders": [],
|
||||
"rewrites": {
|
||||
"beforeFiles": [],
|
||||
"afterFiles": [],
|
||||
"fallback": []
|
||||
},
|
||||
"dynamicRoutes": [
|
||||
{
|
||||
"page": "/blog/[slug]",
|
||||
"regex": "^/blog/([^/]+?)(?:/)?$",
|
||||
"routeKeys": {
|
||||
"nxtPslug": "nxtPslug"
|
||||
},
|
||||
"namedRegex": "^/blog/(?<nxtPslug>[^/]+?)(?:/)?$"
|
||||
}
|
||||
],
|
||||
"staticRoutes": [
|
||||
{
|
||||
"page": "/",
|
||||
"regex": "^/(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/_global-error",
|
||||
"regex": "^/_global\\-error(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/_global\\-error(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/_not-found",
|
||||
"regex": "^/_not\\-found(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/_not\\-found(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/about-us",
|
||||
"regex": "^/about\\-us(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/about\\-us(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/air-freight",
|
||||
"regex": "^/air\\-freight(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/air\\-freight(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/blog",
|
||||
"regex": "^/blog(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/blog(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/contact",
|
||||
"regex": "^/contact(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/contact(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/cookie-policy",
|
||||
"regex": "^/cookie\\-policy(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/cookie\\-policy(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/doormile-wings",
|
||||
"regex": "^/doormile\\-wings(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/doormile\\-wings(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/empowerment",
|
||||
"regex": "^/empowerment(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/empowerment(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/express",
|
||||
"regex": "^/express(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/express(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/favicon.ico",
|
||||
"regex": "^/favicon\\.ico(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/favicon\\.ico(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/how-it-works",
|
||||
"regex": "^/how\\-it\\-works(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/how\\-it\\-works(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/icon.png",
|
||||
"regex": "^/icon\\.png(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/icon\\.png(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/miletruth",
|
||||
"regex": "^/miletruth(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/miletruth(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/privacy-policy",
|
||||
"regex": "^/privacy\\-policy(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/privacy\\-policy(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/sitemap.xml",
|
||||
"regex": "^/sitemap\\.xml(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/sitemap\\.xml(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/solutions",
|
||||
"regex": "^/solutions(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/solutions(?:/)?$"
|
||||
},
|
||||
{
|
||||
"page": "/terms-of-service",
|
||||
"regex": "^/terms\\-of\\-service(?:/)?$",
|
||||
"routeKeys": {},
|
||||
"namedRegex": "^/terms\\-of\\-service(?:/)?$"
|
||||
}
|
||||
],
|
||||
"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",
|
||||
"prefetchSegmentHeader": "next-router-segment-prefetch",
|
||||
"prefetchSegmentSuffix": ".segment.rsc",
|
||||
"prefetchSegmentDirSuffix": ".segments",
|
||||
"clientParamParsing": false,
|
||||
"dynamicRSCPrerender": false
|
||||
},
|
||||
"rewriteHeaders": {
|
||||
"pathHeader": "x-nextjs-rewritten-path",
|
||||
"queryHeader": "x-nextjs-rewritten-query"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user