diff --git a/lib/server.js b/lib/server.js index f8436e307e368..6c52928882040 100644 --- a/lib/server.js +++ b/lib/server.js @@ -195,11 +195,12 @@ 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() this.registerServices() + this.registerRedirects() await new Promise(resolve => camp.on('listening', () => resolve())) }