adrianlee / goodpug

A CSGO pug service keeping things simple
http://localhost:3000
0 stars 0 forks source link

Enable html5mode - Angular #41

Open adrianlee opened 9 years ago

adrianlee commented 9 years ago

app.use(function(req, res) { if (req.isAuthenticated()) { var data = req.user; return res.sendFile(dirname + "/public/home.html"); } res.sendFile(dirname + "/public/welcome.html"); });