Fix authentication database setting
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
78c5c02c0e
commit
d54e223369
@ -5,7 +5,7 @@ interface versions {
|
|||||||
|
|
||||||
const version: versions = {
|
const version: versions = {
|
||||||
api: ["/api/v2"],
|
api: ["/api/v2"],
|
||||||
app: "2024.11.1",
|
app: "2024.11.2",
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = version;
|
module.exports = version;
|
||||||
|
@ -5,7 +5,7 @@ const dbPass = process.env.OWL_DB_PASS || "twittwoo";
|
|||||||
const dbName = process.env.OWL_DB_NAME || "owlboard";
|
const dbName = process.env.OWL_DB_NAME || "owlboard";
|
||||||
const dbPort = process.env.OWL_DB_PORT || 27017;
|
const dbPort = process.env.OWL_DB_PORT || 27017;
|
||||||
const dbHost = process.env.OWL_DB_HOST || "localhost";
|
const dbHost = process.env.OWL_DB_HOST || "localhost";
|
||||||
const uri = `mongodb://${dbUser}:${dbPass}@${dbHost}:${dbPort}`;
|
const uri = `mongodb://${dbUser}:${dbPass}@${dbHost}:${dbPort}?authSource=owlboard`;
|
||||||
|
|
||||||
const { MongoClient } = require("mongodb");
|
const { MongoClient } = require("mongodb");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user