Use meta redirect for captchas.html; include in repo.

This commit is contained in:
ccd0 2015-10-15 12:22:35 -07:00
parent 090d4c689b
commit 6c1c03d662
2 changed files with 7 additions and 1 deletions

View File

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

5
captchas.html Normal file
View File

@ -0,0 +1,5 @@
<html><head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://boards.4chan.org/qa/thread/288636">
<title>Redirect</title>
</head>