Test environment in the same domain Answered

Post author
Chuck Lapointe

Hi,

is there a way to force Test Environment with the vanilla javascript code?

I have one of my websites that has a test environment on the same domain and we use ?sandbox=true to work, rather than another subdomain or domain, so it would be great to be able to force test enviroment.

Comments

1 comment

  • Comment author
    Chuck Lapointe

    Nevermind, found a way to do this through the memberstackConfig & publicKey.
    const memberstackConfig = {
    useCookies: true,
    setCookieOnRootDomain: true,
    publicKey: xxxx
    }

    I’m assuming this will override these settings ?

    0

Please sign in to leave a comment.