Created
May 19, 2020 16:17
-
-
Save patcon/4443334509188c7f7d66cc54b36f7c45 to your computer and use it in GitHub Desktop.
diff client-participation/api/embed.js client-participation/api/embedPreprod.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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