diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index 55c4f56d..305b5bcd 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -19,6 +19,7 @@ Protocols h2 h2c http/1.1 # Set up caching directives for infrequently changed files ExpiresActive on ExpiresByType application/javascript "access plus 6 months" +ExpiresByType text/javascript "access plus 6 months" ExpiresByType font/woff2 "access plus 6 months" ExpiresByType image/avif "access plus 6 months" ExpiresByType image/gif "access plus 6 months" diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 7da3402b..f3d7d099 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -19,6 +19,7 @@ Protocols h2 h2c http/1.1 # Set up caching directives for infrequently changed files ExpiresActive on ExpiresByType application/javascript "access plus 6 months" +ExpiresByType text/javascript "access plus 6 months" ExpiresByType font/woff2 "access plus 6 months" ExpiresByType image/avif "access plus 6 months" ExpiresByType image/gif "access plus 6 months" diff --git a/www/polls/get.php b/www/polls/get.php index 63f82378..151554f5 100644 --- a/www/polls/get.php +++ b/www/polls/get.php @@ -42,18 +42,18 @@ catch(Exceptions\SeException $ex){

You’ve already voted in this poll.

-

- - Vote now - - View results -

+

+ + Vote now + + View results +

Start !== null && $poll->Start > new DateTime()){ ?>

This poll opens on Start->format('F j, Y g:i a') ?>.

-

This poll closed on End->format('F j, Y g:i a') ?>.

-

View results

+

This poll closed on End->format('F j, Y g:i a') ?>.

+

View results