소스 검색

Update https_server.go (#194)

ooopus 1 년 전
부모
커밋
1c4240d36f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/http_server/https_server.go

+ 1 - 1
server/http_server/https_server.go

@@ -55,7 +55,7 @@ func HttpsStart() {
 			WriteTimeout: time.Second * 90,
 			ErrorLog:     nullLog,
 		}
-		err := httpsServer.ListenAndServeTLS("config/ssl/public.crt", "config/ssl/private.key")
+		err := httpsServer.ListenAndServeTLS(config.Instance.SSLPublicKeyPath, config.Instance.SSLPrivateKeyPath)
 		if err != nil {
 			panic(err)
 		}