|
@@ -212,6 +212,10 @@ PeerServer.prototype._initializeHTTP = function() {
|
|
|
|
|
|
this._app.on('MethodNotAllowed', unknownMethodHandler);
|
|
|
|
|
|
+ this._app.get('/', function(req, res, next) {
|
|
|
+ res.send(require('../app.json'));
|
|
|
+ });
|
|
|
+
|
|
|
// Retrieve guaranteed random ID.
|
|
|
this._app.get(this._options.path + ':key/id', function(req, res, next) {
|
|
|
res.contentType = 'text/html';
|