Browse Source

Step cookie down to 4 hours

pull/9383/head
Travis Ralston 3 years ago
parent
commit
0d2668f2b1
  1. 4
      src/vector/mobile_guide/index.js

4
src/vector/mobile_guide/index.js

@ -1,8 +1,8 @@
import {getVectorConfig} from '../getconfig';
function onBackToRiotClick() {
// Cookie should expire in 24 hours
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=86400';
// Cookie should expire in 4 hours
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=14400';
window.location.href = '../';
}

Loading…
Cancel
Save