From 5b592d21c033f5bdfdd0531b509405419b2a1f23 Mon Sep 17 00:00:00 2001 From: LuckyPigeon Date: Sat, 28 Jan 2017 09:00:16 -0800 Subject: [PATCH] src/tryit.jade: Remove cookie Many pump nodes are down. If someone clicks Try It and gets sent to an offline node they might want to go back and Try It again. Not realizing that a cookie has been sent they keep going back to the same place over and over. Head, meet wall. Hopefully removing the cookie means they can potentially be sent to a different node. --- src/tryit.jade | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/tryit.jade b/src/tryit.jade index adf9366..69fefaa 100644 --- a/src/tryit.jade +++ b/src/tryit.jade @@ -20,12 +20,6 @@ html "datamost.com"], site, destination; - // We use a cookie so we can send you to the same site again in the future - site = $.cookie("site"); - if (!site) { - site = sites[Math.floor(Math.random() * sites.length)]; - $.cookie("site", site, { expires: 3650, path: '/' }); - } destination = "https://"+site+"/main/register"; window.location = destination;