1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Remove partials, not needed anymore with Webpack bundling.

This commit is contained in:
Gunther Brunner 2015-07-01 15:12:56 +09:00
parent 9f627cb129
commit 5255b32f09
2 changed files with 0 additions and 26 deletions

View file

@ -50,19 +50,6 @@ module.exports = function(options) {
next()
})
app.get('/static/auth/ldap/views/partials/:name.html', function(req, res) {
var whitelist = {
'signin': true
}
if (whitelist[req.params.name]) {
res.render('partials/' + req.params.name)
}
else {
res.send(404)
}
})
app.get('/', function(req, res) {
res.redirect('/auth/ldap/')
})

View file

@ -49,19 +49,6 @@ module.exports = function(options) {
next()
})
app.get('/static/auth/mock/views/partials/:name.html', function(req, res) {
var whitelist = {
'signin': true
}
if (whitelist[req.params.name]) {
res.render('partials/' + req.params.name)
}
else {
res.send(404)
}
})
app.get('/', function(req, res) {
res.redirect('/auth/mock/')
})