Lord15dom
03/09/2021, 10:28 AMrp
03/09/2021, 12:14 PMabjennings
03/09/2021, 11:47 PMabjennings
03/09/2021, 11:51 PMrp
03/10/2021, 5:44 AMothiagocruz
03/18/2021, 9:18 PMrp
03/19/2021, 5:50 AMothiagocruz
03/19/2021, 8:05 AMrp
03/19/2021, 8:19 AMothiagocruz
03/19/2021, 8:37 AMrp
03/19/2021, 8:53 AMothiagocruz
03/19/2021, 8:55 AMrp
03/19/2021, 8:55 AMrp
03/19/2021, 9:04 AMrp
03/19/2021, 9:05 AMothiagocruz
03/19/2021, 9:05 AMrp
03/19/2021, 9:05 AMothiagocruz
03/19/2021, 9:06 AMrp
03/19/2021, 9:07 AMothiagocruz
03/19/2021, 9:07 AMothiagocruz
03/19/2021, 9:07 AM{
"compilerOptions": {
"baseUrl": ".",
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"exclude": [
"node_modules"
],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
]
}
rp
03/19/2021, 9:07 AMothiagocruz
03/19/2021, 9:08 AMrp
03/19/2021, 9:10 AMrp
03/19/2021, 9:11 AMothiagocruz
03/19/2021, 9:12 AMothiagocruz
03/19/2021, 9:15 AMothiagocruz
03/19/2021, 9:18 AMjavascript
if (typeof window !== "undefined") {
SuperTokensReact.init({
useReactRouterDom: false,
appInfo: {
appName: "storefront",
websiteDomain,
apiDomain: websiteDomain,
apiBasePath,
},
recipeList: [SessionReact.init()],
})
} else {
SuperTokensNode.init({
supertokens: {
connectionURI: process.env.SUPERTOKENS_DOMAIN || "",
apiKey: process.env.SUPERTOKENS_API_KEY,
},
appInfo: {
appName: "storefront",
apiDomain: websiteDomain,
websiteDomain,
apiBasePath,
},
recipeList: [SessionNode.init()],
})
}
othiagocruz
03/19/2021, 9:18 AMothiagocruz
03/19/2021, 9:18 AM