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:
parent
9f627cb129
commit
5255b32f09
2 changed files with 0 additions and 26 deletions
|
@ -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/')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue