diff --git a/src/constants.ts b/src/constants.ts index 48523a2b86..179ae16302 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -7,6 +7,7 @@ export const HIDDEN_PATHS = [ '/cache/*', '/server/*', '/serverless/*', + '/trace', '/traces', '/routes-manifest.json', '/build-manifest.json', diff --git a/test/__snapshots__/index.js.snap b/test/__snapshots__/index.js.snap index e10cc2bfe2..59ea733fef 100644 --- a/test/__snapshots__/index.js.snap +++ b/test/__snapshots__/index.js.snap @@ -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",