Skip to content

Instantly share code, notes, and snippets.

@patcon
Created May 19, 2020 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patcon/4443334509188c7f7d66cc54b36f7c45 to your computer and use it in GitHub Desktop.
Save patcon/4443334509188c7f7d66cc54b36f7c45 to your computer and use it in GitHub Desktop.
diff client-participation/api/embed.js client-participation/api/embedPreprod.js
6c6
< var polisUrl = "https://pol.is";
---
> var polisUrl = "https://preprod.pol.is";
101a102
>
234,236c235,237
< if (data === "cookieRedirect" && cookiesEnabledAtTopLevel()) {// // temporarily redirect to polis, which will set a cookie and redirect back
< window.location = polisUrl + "/api/v3/launchPrep?dest=" + encodeReturnUrl(window.location+"");
< }
---
> // if (data === "cookieRedirect" && cookiesEnabledAtTopLevel()) {// // temporarily redirect to polis, which will set a cookie and redirect back
> // window.location = polisUrl + "/api/v3/launchPrep?dest=" + encodeReturnUrl(window.location+"");
> // }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment