Skip to content
Browse files

Fix regex

  • Loading branch information...
1 parent b5ff611 commit 43efb2699ca7166a0bf30b47fda0a4a9c5c020a9 @kriszyp committed Jan 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jsgi/archive.js
View
2 lib/jsgi/archive.js
@@ -8,7 +8,7 @@ module.exports = function(request){
return when(staticApp(request), function(response){
if(request.pathInfo.substring(0,10) == "/archives/"){
if(response.status == 404){
- return when(cacheArchive(decodeURIComponent(request.pathInfo.substring(10).replace(/$/g,'%'))), function(){
+ return when(cacheArchive(decodeURIComponent(request.pathInfo.substring(10).replace(/\$/g,'%'))), function(){
return when(staticApp(request), function(response){
console.log("setting content type");
if(request.pathInfo.match(/zipball/)){

0 comments on commit 43efb26

Please sign in to comment.
Something went wrong with that request. Please try again.