From 6e7600485c0f58d600755dc28ffa2d605f6e900f Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sun, 21 Nov 2021 00:36:31 -0500 Subject: [PATCH] Revert "Pull in latest whoami.cgi; update D.I.E. date for the countdown" This reverts commit 7632288aafeb1a02649e28ba0c7bbe144e7800cf. --- cgi-bin/whoami.cgi | 6 +----- public/js/die.js | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cgi-bin/whoami.cgi b/cgi-bin/whoami.cgi index 0e355e2..ce7b910 100755 --- a/cgi-bin/whoami.cgi +++ b/cgi-bin/whoami.cgi @@ -20,14 +20,10 @@ styling = { inner = { class: 'inner' } outer = { class: 'outer' } -# Handle X-Forwarded-For header -x_forwarded_for = ENV['HTTP_X_FORWARDED_FOR'].split(/, ?/).first \ - if ENV['HTTP_X_FORWARDED_FOR'] =~ /,/ - # CGI Environment variables referer = cgi.referer || nil user_agent = cgi.user_agent || nil -remote_addr = x_forwarded_for || cgi.remote_addr || nil +remote_addr = ENV['HTTP_X_FORWARDED_FOR'] || cgi.remote_addr || nil remote_port = ENV['HTTP_X_FORWARDED_PORT'] || ENV['REMOTE_PORT'] || nil request_method = cgi.request_method || nil server_admin = ENV['SERVER_ADMIN'] || nil diff --git a/public/js/die.js b/public/js/die.js index 4c550b0..714f474 100644 --- a/public/js/die.js +++ b/public/js/die.js @@ -25,7 +25,7 @@ */ // Set the date we're counting down to -var countDownDate = new Date("Jun 15, 2022 00:00:00").getTime(); +var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime(); // Update the count down every 1 second (var x is needed for // clearInterval() later)