Switch back to older version of safe_mongo, since the new one is esm only
All checks were successful
CI / build (push) Successful in 21m31s
All checks were successful
CI / build (push) Successful in 21m31s
This commit is contained in:
@ -5,6 +5,7 @@ database=openauth
|
||||
[core]
|
||||
name = OpenAuthService
|
||||
secret = dev
|
||||
url=http://localhost:3000
|
||||
|
||||
[web]
|
||||
port = 3000
|
||||
|
@ -48,7 +48,7 @@
|
||||
"@hibas123/nodeloggingserver_client": "^1.1.2",
|
||||
"@hibas123/openauth-internalapi": "workspace:^",
|
||||
"@hibas123/openauth-views-v1": "workspace:^",
|
||||
"@hibas123/safe_mongo": "^2.1.0",
|
||||
"@hibas123/safe_mongo": "2.0.1",
|
||||
"@simplewebauthn/server": "^7.2.0",
|
||||
"body-parser": "^1.20.2",
|
||||
"compression": "^1.7.4",
|
||||
|
@ -46,7 +46,7 @@ export default class Web {
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
store: MongoStore.create({
|
||||
client: DB.getClient(),
|
||||
client: DB.getClient() as any,
|
||||
dbName: DB.db.databaseName,
|
||||
collectionName: "sessions",
|
||||
autoRemove: "native",
|
||||
|
Reference in New Issue
Block a user