diff options
-rw-r--r-- | lib/serve.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js index e85ca31..df2b089 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -113,6 +113,7 @@ Serve.prototype.respondSink = function (status, headers, cb) { Serve.prototype.path = function (url) { var m + url = url.replace(/^\/+/, '/') switch (url) { case '/': return this.home() case '/robots.txt': return this.res.end('User-agent: *') |