Separate IC2-Classic and IC2-Exp

This commit is contained in:
Andrew Miner
2015-03-08 20:39:48 -07:00
parent 0a6c185965
commit 6e090d3d59
3573 changed files with 8619 additions and 193789 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ app = express()
app.get '*/$', (request, response)->
response.set 'Content-Type', 'text/html'
filePath = "#{request.path}index.html"
filePath = "#{request.path}index.html".replace /^\//, ''
fs.stat "#{ROOT}#{filePath}", (err, stats)->
if stats.isFile()
if not err?
response.sendFile filePath, root:ROOT
console.log ">>> #{filePath} (for #{request.path})"
else