We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b550b commit 2c1400dCopy full SHA for 2c1400d
src/helpers/redirects.ts
@@ -170,7 +170,7 @@ export const generateRedirects = async ({
170
171
// Final fallback
172
netlifyConfig.redirects.push({
173
- from: `${basePath}*`,
+ from: `${basePath}/*`,
174
to: HANDLER_FUNCTION_PATH,
175
status: 200,
176
})
test/__snapshots__/index.js.snap
@@ -1425,5 +1425,10 @@ Array [
1425
"status": 200,
1426
"to": "/.netlify/functions/___netlify-handler",
1427
},
1428
+ Object {
1429
+ "from": "/*",
1430
+ "status": 200,
1431
+ "to": "/.netlify/functions/___netlify-handler",
1432
+ },
1433
]
1434
`;
0 commit comments