mirror of
https://github.com/openziti/zrok.git
synced 2024-11-21 23:53:19 +01:00
Merge pull request #713 from openziti/interstitial_chrome
Fix for zrok_interstitial Cookie on Chrome-based Browsers
This commit is contained in:
commit
ed09ab2c25
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## v0.4.37
|
## v0.4.37
|
||||||
|
|
||||||
|
FIX: Fix for setting the `zrok_interstitial` cookie on Chrome-based browsers.
|
||||||
|
|
||||||
FIX: Fix for `store.IsAccountGrantedSkipInterstitial` to respect the `deleted` flag.
|
FIX: Fix for `store.IsAccountGrantedSkipInterstitial` to respect the `deleted` flag.
|
||||||
|
|
||||||
FIX: When an error occurs connecting to the proxied endpoint, the `proxy` backend should return HTTP status `502` (https://github.com/openziti/zrok/issues/703)
|
FIX: When an error occurs connecting to the proxied endpoint, the `proxy` backend should return HTTP status `502` (https://github.com/openziti/zrok/issues/703)
|
||||||
|
@ -108,8 +108,10 @@
|
|||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
function onClick() {
|
function onClick() {
|
||||||
let e=new Date; e.setTime(e.getTime()+6048e5);
|
const d = new Date();
|
||||||
document.cookie = 'zrok_interstitial = 1; expires=${e}; path=/; SameSite=None';
|
d.setTime(d.getTime() + (7 * 24 * 60 * 60 * 1000));
|
||||||
|
let expires = "expires=" + d.toUTCString();
|
||||||
|
document.cookie = "zrok_interstitial=1;" + expires + ";path=/;SameSite=None';domain=" + window.location.hostname;
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user