Permalink
Browse files

Allow .jpg at the end so Campfire knows it's an image

  • Loading branch information...
1 parent 7dc9017 commit ebadeff1debe2e1c2a19eff15521cd753b95c559 @gabebw gabebw committed Sep 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -58,7 +58,7 @@ server.get("/favicon.ico", function(request, response){
return ""
})
-server.get(new RegExp("^/(.*)$"), function(request, response, match) {
+server.get(new RegExp("^/(.*)(?:.jpg)?$"), function(request, response, match) {
var msg = ""
, match = escape(match)
, chars = match.length

0 comments on commit ebadeff

Please sign in to comment.