Skip to content

Commit

Permalink
fix: add new /trace to HIDDEN_PATHS (#1259)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
3 people authored Mar 21, 2022
1 parent e441c97 commit 84345a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const HIDDEN_PATHS = [
'/cache/*',
'/server/*',
'/serverless/*',
'/trace',
'/traces',
'/routes-manifest.json',
'/build-manifest.json',
Expand Down
6 changes: 6 additions & 0 deletions test/__snapshots__/index.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,12 @@ Array [
"status": 200,
"to": "/.netlify/functions/___netlify-handler",
},
Object {
"force": true,
"from": "/trace",
"status": 404,
"to": "/404.html",
},
Object {
"force": true,
"from": "/traces",
Expand Down

0 comments on commit 84345a8

Please sign in to comment.