Skip to content

Commit 0d2668f

Browse files
committed
Step cookie down to 4 hours
1 parent b1c885a commit 0d2668f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vector/mobile_guide/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {getVectorConfig} from '../getconfig';
22

33
function onBackToRiotClick() {
4-
// Cookie should expire in 24 hours
5-
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=86400';
4+
// Cookie should expire in 4 hours
5+
document.cookie = 'mobile_redirect_to_guide=false;path=/;max-age=14400';
66
window.location.href = '../';
77
}
88

0 commit comments

Comments
 (0)