Skip to content

Commit bb0dda3

Browse files
committed
nothing is really "permanent"
1 parent 80dce4f commit bb0dda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ app.get('*', (req, res, next) => {
6565
if (req.path.endsWith('/') && req.path.length > 1) {
6666
const query = req.url.slice(req.path.length)
6767
const safepath = req.path.slice(0, -1).replace(/\/+/g, '/')
68-
res.redirect(301, safepath + query)
68+
res.redirect(302, safepath + query)
6969
} else {
7070
next()
7171
}

0 commit comments

Comments
 (0)