diff options
author | 2023-08-15 19:13:58 +0200 | |
---|---|---|
committer | 2023-08-15 19:48:24 +0200 | |
commit | 4d28ac359b25d89d0dbb42dd3a6d32269eebc619 (patch) | |
tree | 0a67803954dd46a18e3628d0dc85204e7ac6889e /db | |
parent | bdb0762696ccf028c30b2957b93a01da7bf67571 (diff) | |
download | auth-service-4d28ac359b25d89d0dbb42dd3a6d32269eebc619.tar.gz auth-service-4d28ac359b25d89d0dbb42dd3a6d32269eebc619.tar.bz2 auth-service-4d28ac359b25d89d0dbb42dd3a6d32269eebc619.zip |
add cors, logout, change name
Diffstat (limited to 'db')
-rw-r--r-- | db/mongoose.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/mongoose.js b/db/mongoose.js index 3b357d3..106d6fd 100644 --- a/db/mongoose.js +++ b/db/mongoose.js @@ -4,6 +4,6 @@ mongoose.set('strictQuery', true) mongoose.connect( process.env.DB_CONNECT, - { dbName: 'auth' }, + { dbName: 'auth-service' }, () => { console.log('Successfully connected to db.') }, ) |