Port captchas task.

This commit is contained in:
ccd0 2016-04-17 04:31:18 -07:00
parent bd6bc0ba94
commit 46a7df9824
2 changed files with 6 additions and 2 deletions

View File

@ -254,7 +254,7 @@ distready : dist $(wildcard dist/* dist/*/*)
.SECONDARY :
.PHONY: default all distready script crx release jshint install push $(npgoals)
.PHONY: default all distready script crx release jshint install push captchas $(npgoals)
script : $(script)
@ -268,6 +268,10 @@ install : .events/install
push : .events2/push-git .events2/push-web .events2/push-store
captchas : redirect.html $(template_deps)
$(template) redirect.html captchas.html url="$(url)"
aws s3 cp captchas.html s3://$(awsBucket) --cache-control "max-age=0" --content-type "text/html; charset=utf-8"
clean :
$(RMDIR) tmp testbuilds .events
$(RM) .tests_enabled

View File

@ -1,4 +1,4 @@
<!doctype html>
<% url = (url || 'https://www.4chan.org/feedback'); %><!doctype html>
<html><head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=<%= url %>">