Hey, i'm setting up a self-hosted supertokens, I h...
# support-questions-legacy
d
Hey, i'm setting up a self-hosted supertokens, I have a backend running on express. Everything works. But my front is a CapacitorJS mobile app, so for the supertokens configs, i don't really know what to put in
websiteDomain
part, because it will not be urls. Can i just remove it ? And what about
apiDomain
? I guess those both are used to build url's between front & back ?
Copy code
typescript
supertokens.init({
    framework: "express",
    supertokens: {
        connectionURI: "http://spt-core:3567",
    },
    appInfo: {
        // learn more about this on https://supertokens.com/docs/session/appinfo
        appName: "Eve App",
        apiDomain: `http://localhost:${port}`,
        websiteDomain: "???",
        apiBasePath: "/auth",
        websiteBasePath: "/auth",
    },
    recipeList: [
        EmailPassword.init(), // initializes signin / sign up features
        Session.init(), // initializes session features
        Dashboard.init(),
        UserRoles.init()
    ],
});
2 Views