Unternoober
05/20/2021, 2:10 PMUnternoober
05/20/2021, 2:11 PMUnternoober
05/20/2021, 2:11 PMrp
05/20/2021, 2:13 PMsahil-shubham
05/21/2021, 8:26 AMrp
05/21/2021, 8:27 AMrp
05/21/2021, 8:28 AMwindow.location.hostname
to set the value of websiteDomain
sahil-shubham
05/21/2021, 8:28 AMsahil-shubham
05/21/2021, 8:29 AMwindow.location.hostname
passes the regex check, if yes then I would set websiteDomain
as the window.location.hostname
rp
05/21/2021, 8:30 AMsahil-shubham
05/21/2021, 8:30 AMuser
05/21/2021, 1:26 PMyarn vercel dev
and runs on localhost:3000
https://catgirl.top/i/1107.png▾
rp
05/21/2021, 1:26 PMrp
05/21/2021, 1:27 PMuser
05/21/2021, 1:29 PMrp
05/21/2021, 1:30 PMrp
05/21/2021, 1:30 PMrp
05/21/2021, 1:31 PMuser
05/21/2021, 1:31 PMhttps://catgirl.top/i/23wh.png▾
rp
05/21/2021, 1:32 PMrp
05/21/2021, 1:32 PMrp
05/21/2021, 1:33 PMapiBasePath: "/api/auth/"
in the appInfo?user
05/21/2021, 1:35 PMjs
let appInfo = {
// learn more about this on https://supertokens.io/docs/thirdparty/appinfo
appName: 'SuperTokens Demo App', // TODO: Your app name
websiteDomain: "http://localhost:3000", // TODO: Add your website domain
apiDomain: "http://localhost:3000", // TODO: should be equal to `websiteDomain` in case using the `api` folder for APIs
apiBasePath: "/api/auth/", // /api/auth/* will be where APIs like sign out, sign in will be exposed
}
This is my current appInfo (i havent changed anything from the guide)rp
05/21/2021, 1:36 PMrp
05/21/2021, 1:36 PMuser
05/21/2021, 1:37 PMrp
05/21/2021, 1:37 PMrp
05/21/2021, 1:38 PMrp
05/21/2021, 1:38 PM