1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 11:24:35 +00:00

chore(docs): linking to official docs

This commit is contained in:
Allan Bowe
2023-02-28 20:55:32 +00:00
committed by GitHub
parent 158f044363
commit 941988cd7c

View File

@@ -13,6 +13,8 @@ export const configureExpressSession = (app: Express) => {
if (process.env.NODE_ENV !== 'test') {
if (DB_TYPE === DatabaseType.COSMOS_MONGODB) {
// COSMOS DB requires specific connection options (compatibility mode)
// See: https://www.npmjs.com/package/connect-mongo#set-the-compatibility-mode
store = MongoStore.create({
client: mongoose.connection!.getClient() as any,
collectionName: 'sessions',