Skip to content

Commit

Permalink
Allow streams to connect to versionless bins
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Jul 22, 2012
1 parent 3c76e01 commit 8624593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes.js
Expand Up @@ -87,7 +87,7 @@ module.exports = function (app) {
app.post('/:bin/:rev/log', spike.postLog);

// Preview
app.get('/:bin/:quiet(quiet)?', binHandler.getBinPreview);
app.get('/:bin/:quiet(quiet)?', spike.getStream, binHandler.getBinPreview);
app.get('/:bin/:rev?/:quiet(quiet)?', spike.getStream, binHandler.getBinPreview);

// Catch all
Expand Down

0 comments on commit 8624593

Please sign in to comment.