Skip to content

Commit 2c1400d

Browse files
committed
chore: snapidoo
1 parent d9b550b commit 2c1400d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/helpers/redirects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const generateRedirects = async ({
170170

171171
// Final fallback
172172
netlifyConfig.redirects.push({
173-
from: `${basePath}*`,
173+
from: `${basePath}/*`,
174174
to: HANDLER_FUNCTION_PATH,
175175
status: 200,
176176
})

test/__snapshots__/index.js.snap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,5 +1425,10 @@ Array [
14251425
"status": 200,
14261426
"to": "/.netlify/functions/___netlify-handler",
14271427
},
1428+
Object {
1429+
"from": "/*",
1430+
"status": 200,
1431+
"to": "/.netlify/functions/___netlify-handler",
1432+
},
14281433
]
14291434
`;

0 commit comments

Comments
 (0)