summaryrefslogtreecommitdiff
path: root/app/node_modules
diff options
context:
space:
mode:
Diffstat (limited to 'app/node_modules')
-rw-r--r--app/node_modules/okserver/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/node_modules/okserver/index.js b/app/node_modules/okserver/index.js
index 952602d..e6145ee 100644
--- a/app/node_modules/okserver/index.js
+++ b/app/node_modules/okserver/index.js
@@ -45,9 +45,14 @@ function OKServer(options) {
* Order is important here! Requests go down the middleware
* chain until they are handled with a response, which could
* happen anywhere in the chain. Watch out for middleware shadowing
- * ither middleware.
+ * other middleware.
*/
+ // Intercept favicon requests and 404 for now
+ app.use('/favicon.ico', function(req, res) {
+ res.status(404)
+ return res.send('');
+ });
// Serve user static files
app.use(express.static(root));
// Serve admin interface static files