Browse Source

Merge pull request #3727 from weseek/fix/gw5938-server-uri-error

fix server uri error
Yuki Takei 4 years ago
parent
commit
e2c4c8bc09
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/slackbot-proxy/src/Server.ts

+ 1 - 1
packages/slackbot-proxy/src/Server.ts

@@ -75,7 +75,7 @@ export class Server {
   @Inject()
   injector: InjectorService;
 
-  $onInit(): Promise<any> | void {
+  $beforeInit(): Promise<any> | void {
     const serverUri = process.env.SERVER_URI;
 
     if (serverUri === undefined) {