Skip to content

Commit

Permalink
Merge pull request #1 from Rholais/master
Browse files Browse the repository at this point in the history
Update webserver.coffee
  • Loading branch information
hectorcorrea committed Sep 29, 2015
2 parents e596886 + a4c9460 commit 64b4274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/webserver.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ processRequest = (req, res) ->
path.exists localPath, (exists) ->
if exists
console.log "Serving file: #{localPath}"
getFile localPath, res, ext
getFile localPath, res, isValidExt
else
console.log "File not found: #{localPath}"
res.writeHead 404
Expand Down

0 comments on commit 64b4274

Please sign in to comment.