We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5643f8c commit 552b368Copy full SHA for 552b368
src/drivers/connection-tls.ts
@@ -50,7 +50,7 @@ export class SQLiteCloudTlsConnection extends SQLiteCloudConnection {
50
const connectionOptions = {
51
host: config.host,
52
port: config.port as number,
53
- rejectUnauthorized: true,
+ rejectUnauthorized: config.host != 'localhost',
54
// Server name for the SNI (Server Name Indication) TLS extension.
55
// https://r2.nodejs.org/docs/v6.11.4/api/tls.html#tls_class_tls_tlssocket
56
servername: config.host
0 commit comments