Skip to content

Commit a4e63ef

Browse files
committed
Update main.ts
1 parent 3c42417 commit a4e63ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { HttpsOptions } from '@nestjs/common/interfaces/external/https-options.i
1010

1111
function getHttpsOptions(): HttpsOptions | null {
1212
const keyPath = './secrets/ssl.key';
13-
const certPath = './secrets/cert.key';
13+
const certPath = './secrets/ssl.cert';
1414
if (!existsSync(keyPath) || !existsSync(certPath)) {
1515
Logger.log('HTTPS config not found. Fall back to HTTP');
1616
return null;

0 commit comments

Comments
 (0)