You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
308 B
JavaScript
20 lines
308 B
JavaScript
"use strict";
|
|
|
|
const url = require("url");
|
|
|
|
const config = require("./config.json");
|
|
|
|
module.exports = {
|
|
client: "pg",
|
|
connection: {
|
|
connectionString: url.format({
|
|
protocol: "socket",
|
|
slashes: false,
|
|
pathname: config.database.socket,
|
|
query: {
|
|
db: config.database.database
|
|
}
|
|
})
|
|
}
|
|
};
|