Changed NubianDatabase to AlexandriaDatabase
This commit is contained in:
parent
fba9723dda
commit
3ee7a3a515
2 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@ const {
|
|||
} = require("fs");
|
||||
const config = require("../config.json");
|
||||
const mongoose = require("mongoose");
|
||||
mongoose.connect(`${config.Storage.NubianDatabase}/nubian?authSource=admin`, {
|
||||
mongoose.connect(`${config.Storage.AlexandriaUrl}/nubian?authSource=admin`, {
|
||||
useUnifiedTopology: true,
|
||||
useNewUrlParser: true,
|
||||
user: "admin",
|
||||
pass: process.env.NUBIAN_DATABASE_PASSWORD,
|
||||
pass: process.env.ALEXANDRIA_DATABASE_PASSWORD,
|
||||
});
|
||||
|
||||
const users = require("../schemas/user");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"Storage": {
|
||||
"NubianDatabase": "mongodb://alexandria.dunestorm.net",
|
||||
"AlexandriaUrl": "mongodb://alexandria.dunestorm.net",
|
||||
"DesertPath": "src/desert/",
|
||||
"UploadPath": "src/uploads/",
|
||||
"ZipPath": "zips/",
|
||||
|
|
Reference in a new issue