I like slashes at the end of URLs

This commit is contained in:
2011-12-25 09:53:40 +00:00
parent 349e9eaef6
commit 7d504bd777
2 changed files with 2 additions and 2 deletions

2
app.js
View File

@@ -24,7 +24,7 @@
app.configure('production', function() {
app.use(express.errorHandler());
return app.use(require('./middleware/host_redirect')({
"www.heartb.it": "http://heartb.it"
"www.heartb.it": "http://heartb.it/"
}));
});

View File

@@ -18,7 +18,7 @@ app.configure 'development', ->
app.configure 'production', ->
app.use express.errorHandler()
app.use require('./middleware/host_redirect')
"www.heartb.it": "http://heartb.it"
"www.heartb.it": "http://heartb.it/"
# Routes