mirror of
https://github.com/jimeh/heartb.it.git
synced 2026-02-19 04:46:40 +00:00
I like slashes at the end of URLs
This commit is contained in:
2
app.js
2
app.js
@@ -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/"
|
||||
}));
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user