Skip to content

Commit 84345a8

Browse files
chendersascorbickodiakhq[bot]
authored
fix: add new /trace to HIDDEN_PATHS (#1259)
The location of the `trace` file changed in vercel/next.js#28728. Co-authored-by: Matt Kane <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent e441c97 commit 84345a8

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/constants.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const HIDDEN_PATHS = [
77
'/cache/*',
88
'/server/*',
99
'/serverless/*',
10+
'/trace',
1011
'/traces',
1112
'/routes-manifest.json',
1213
'/build-manifest.json',

test/__snapshots__/index.js.snap

+6
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,12 @@ Array [
18981898
"status": 200,
18991899
"to": "/.netlify/functions/___netlify-handler",
19001900
},
1901+
Object {
1902+
"force": true,
1903+
"from": "/trace",
1904+
"status": 404,
1905+
"to": "/404.html",
1906+
},
19011907
Object {
19021908
"force": true,
19031909
"from": "/traces",

0 commit comments

Comments
 (0)