tredstone7623
02/12/2021, 1:44 PMsuperTokens.init({
supertokens:{
connectionURI: "http://localhost:3567",
},
appInfo: {
appName: 'My API',
apiDomain: process.env.API_DOMAIN,
websiteDomain: process.env.WEBSITE_DOMAIN
},
recipeList: [
Session.init({
sessionExpiredStatusCode: 440,
disableDefaultImplementation: false,
}) // initializes session features
]
});
On the server, I've made WEBSITE_DOMAIN http://localhost:8080 (my assumption here is that this url would represent my web app running locally)