Bugfix
This commit is contained in:
parent
05ba95342c
commit
90cc67992b
@ -18,6 +18,7 @@
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
|
||||
const fs = require("fs");
|
||||
const mysql = require("mysql");
|
||||
const path = require("path");
|
||||
|
||||
@ -34,7 +35,7 @@ const connection = mysql.createConnection({
|
||||
: undefined,
|
||||
timeout: 5000,
|
||||
ssl: {
|
||||
ca: `${SSL_PATH}/ca-cert.pem`,
|
||||
ca: fs.readFileSync(`${SSL_PATH}/ca-cert.pem`),
|
||||
},
|
||||
// ssl: {
|
||||
// ca: (() => {
|
||||
|
@ -16,7 +16,7 @@ const connection = mysql.createConnection({
|
||||
: undefined,
|
||||
timeout: 5000,
|
||||
ssl: {
|
||||
ca: `${SSL_PATH}/ca-cert.pem`,
|
||||
ca: fs.readFileSync(`${SSL_PATH}/ca-cert.pem`),
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "datasquirel",
|
||||
"version": "1.9.9",
|
||||
"version": "2.0.0",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user