Render share page before all matches are found.
This commit is contained in:
parent
6f3e8b06a6
commit
4bfdf0dc45
7 changed files with 81 additions and 64 deletions
3
app.js
3
app.js
|
@ -66,7 +66,8 @@ app.get('/', function(req, res) {
|
|||
});
|
||||
|
||||
app.post('/search', search);
|
||||
app.get('/:service/:type/:id', share);
|
||||
app.get('/:service/:type/:id.json', share.json);
|
||||
app.get('/:service/:type/:id', share.html);
|
||||
app.get('/itunes/*', itunesProxy);
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue