Pull in latest whoami.cgi; update D.I.E. date for the countdown
This commit is contained in:
parent
f9e5dcd851
commit
7632288aaf
@ -20,10 +20,14 @@ styling = {
|
|||||||
inner = { class: 'inner' }
|
inner = { class: 'inner' }
|
||||||
outer = { class: 'outer' }
|
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
|
# CGI Environment variables
|
||||||
referer = cgi.referer || nil
|
referer = cgi.referer || nil
|
||||||
user_agent = cgi.user_agent || nil
|
user_agent = cgi.user_agent || nil
|
||||||
remote_addr = ENV['HTTP_X_FORWARDED_FOR'] || cgi.remote_addr || nil
|
remote_addr = x_forwarded_for || cgi.remote_addr || nil
|
||||||
remote_port = ENV['HTTP_X_FORWARDED_PORT'] || ENV['REMOTE_PORT'] || nil
|
remote_port = ENV['HTTP_X_FORWARDED_PORT'] || ENV['REMOTE_PORT'] || nil
|
||||||
request_method = cgi.request_method || nil
|
request_method = cgi.request_method || nil
|
||||||
server_admin = ENV['SERVER_ADMIN'] || nil
|
server_admin = ENV['SERVER_ADMIN'] || nil
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Set the date we're counting down to
|
// Set the date we're counting down to
|
||||||
var countDownDate = new Date("Aug 17, 2021 00:00:00").getTime();
|
var countDownDate = new Date("Jun 15, 2022 00:00:00").getTime();
|
||||||
|
|
||||||
// Update the count down every 1 second (var x is needed for
|
// Update the count down every 1 second (var x is needed for
|
||||||
// clearInterval() later)
|
// clearInterval() later)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user