Skip to content

Commit a778a3a

Browse files
committed
Add redirect to test with and without trailing slash
1 parent 560252f commit a778a3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gatsby-node.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,12 @@ const createRedirects = ({ actions }) => {
15791579
isPermanent: true,
15801580
});
15811581

1582+
createRedirect({
1583+
fromPath: '/using-k6/test-life-cycle',
1584+
toPath: '/using-k6/test-lifecycle/',
1585+
isPermanent: true,
1586+
});
1587+
15821588
createRedirect({
15831589
fromPath: '/using-k6/test-life-cycle/',
15841590
toPath: '/using-k6/test-lifecycle/',

0 commit comments

Comments
 (0)