From 6c1c03d6625fe9818c3594e2efd40be773b4397c Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 15 Oct 2015 12:22:35 -0700 Subject: [PATCH] Use meta redirect for captchas.html; include in repo. --- Gruntfile.coffee | 3 ++- captchas.html | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 captchas.html diff --git a/Gruntfile.coffee b/Gruntfile.coffee index acd4893f0..17cc23613 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -206,7 +206,7 @@ module.exports = (grunt) -> git checkout gh-pages git pull git merge --no-commit -s ours - - git checkout - README.md index.html web.css img + git checkout - README.md index.html web.css img captchas.html git commit -am "Update web page." git checkout - """.split('\n').join('&&') @@ -226,6 +226,7 @@ module.exports = (grunt) -> aws s3 cp img/ s3://<%= pkg.meta.awsBucket %>/img/ --recursive --cache-control "max-age=600" aws s3 cp index.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/html; charset=utf-8" aws s3 cp web.css s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=600" --content-type "text/css; charset=utf-8" + aws s3 cp captchas.html s3://<%= pkg.meta.awsBucket %> --cache-control "max-age=0" --content-type "text/html; charset=utf-8" git checkout - """.split('\n').join('&&') npm: diff --git a/captchas.html b/captchas.html new file mode 100644 index 000000000..cb842f5e7 --- /dev/null +++ b/captchas.html @@ -0,0 +1,5 @@ + + + +Redirect +