Use meta redirect for captchas.html; include in repo.
This commit is contained in:
parent
090d4c689b
commit
6c1c03d662
@ -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
5
captchas.html
Normal 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>
|
||||
Loading…
x
Reference in New Issue
Block a user