Revert "Pull in latest whoami.cgi; update D.I.E. date for the countdown"

This reverts commit 7632288aaf.
This commit is contained in:
swagg boi 2021-11-21 00:36:31 -05:00
parent 040fdfd8b8
commit 6e7600485c
2 changed files with 2 additions and 6 deletions

View file

@ -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

View file

@ -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)