mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Require trailing slash in auth URLs.
This commit is contained in:
@@ -63,10 +63,10 @@ module.exports = function(options) {
|
||||
})
|
||||
|
||||
app.get('/', function(req, res) {
|
||||
res.redirect('/auth/mock')
|
||||
res.redirect('/auth/mock/')
|
||||
})
|
||||
|
||||
app.get('/auth/mock', function(req, res) {
|
||||
app.get('/auth/mock/', function(req, res) {
|
||||
res.render('index')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user