From 16491d787ce9dfd3447bc17fd63724cb06b73a81 Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Fri, 28 Dec 2018 13:51:29 -0500 Subject: [PATCH 1/2] Fix [suggest] (#2604) --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index f8436e307e368..068055864f8fa 100644 --- a/lib/server.js +++ b/lib/server.js @@ -195,7 +195,7 @@ module.exports = class Server { githubConstellation.initialize(camp) metrics.initialize(camp) - const { githubApiProvider } = this.githubConstellation + const { apiProvider: githubApiProvider } = this.githubConstellation suggest.setRoutes(allowedOrigin, githubApiProvider, camp) this.registerErrorHandlers() From ebe6da23d4bf04925a861b88979d183de09090d8 Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Fri, 28 Dec 2018 14:00:07 -0500 Subject: [PATCH 2/2] Register missing redirects [static] (#2603) --- lib/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/server.js b/lib/server.js index 068055864f8fa..6c52928882040 100644 --- a/lib/server.js +++ b/lib/server.js @@ -200,6 +200,7 @@ module.exports = class Server { this.registerErrorHandlers() this.registerServices() + this.registerRedirects() await new Promise(resolve => camp.on('listening', () => resolve())) }