aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2012-11-10 22:22:45 -0500
committerTeddy Wing2012-11-10 22:22:45 -0500
commit318bf7af2ab5715f36fa9f0aa6e35f9e2e11bc58 (patch)
tree23c7589f3a900834e3dbee00a91fdf6177465358
parentde4cdc36395ea7d8fa774eb0f16592b62c199a87 (diff)
downloadgifmusicvideo-play.tar.bz2
routes.js: removed trailing slashes from routes.play
-rw-r--r--routes.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/routes.js b/routes.js
index d4955e5..9b53909 100644
--- a/routes.js
+++ b/routes.js
@@ -6,8 +6,8 @@ var fetchgif = require('./fetchgif');
module.exports = function(app) {
app.all('/', index);
- app.post('/1/dropgif/:song_name/', dropgif);
- app.get('/1/song/:song_name/', song);
- app.get('/:song_name/', play);
+ app.post('/1/dropgif/:song_name', dropgif);
+ app.get('/1/song/:song_name', song);
+ app.get('/:song_name', play);
app.get('/1/fetchgif', fetchgif);
}