Unverified Commit f7d0bd11 authored by Rishabh Poddar's avatar Rishabh Poddar Committed by GitHub

Update to with-supertokens example (#23728)

- Updated dependency version
- Optimises for serverless execution by taking advantage of `/tmp` folder (enabled via a config setting)
parent 45b8c885
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
"next": "latest", "next": "latest",
"react": "17.0.1", "react": "17.0.1",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"supertokens-auth-react": "^0.7.0", "supertokens-auth-react": "^0.8",
"supertokens-node": "^4.1.0" "supertokens-node": "^4.2.0"
}, },
"license": "MIT" "license": "MIT"
} }
...@@ -70,6 +70,7 @@ if (typeof window !== 'undefined') { ...@@ -70,6 +70,7 @@ if (typeof window !== 'undefined') {
}), }),
SessionNode.init(), SessionNode.init(),
], ],
isInServerlessEnv: true,
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment