Skip to content

Commit

Permalink
fix: 修正byoc的协议
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Feb 4, 2024
1 parent bf8a438 commit 24be61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function bootstrap(version: string): Promise<void> {
}

cluster.connect()
const proto = config.byoc ? 'https' : 'http'
const proto = config.byoc ? 'http' : 'https'
if (proto === 'https') {
logger.info('请求证书')
await cluster.requestCert()
Expand Down

0 comments on commit 24be61d

Please sign in to comment.