Skip to content

Commit

Permalink
"/" -> "/superforum"
Browse files Browse the repository at this point in the history
  • Loading branch information
thejh committed Dec 30, 2011
1 parent 450afb8 commit a09d61a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -26,6 +26,8 @@ function requestHandler(req, res) {
return str.length > 0
})

if (urlparts.length === 0) urlparts = ['superforum']

// static files
if (urlparts[0] === 'static' && (req.method === 'GET' || req.method === 'HEAD')) {
return ramstaticServer.handle(urlparts.slice(1).join('/'), res)
Expand Down

0 comments on commit a09d61a

Please sign in to comment.