Port captchas task.
This commit is contained in:
parent
bd6bc0ba94
commit
46a7df9824
6
Makefile
6
Makefile
@ -254,7 +254,7 @@ distready : dist $(wildcard dist/* dist/*/*)
|
|||||||
|
|
||||||
.SECONDARY :
|
.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)
|
script : $(script)
|
||||||
|
|
||||||
@ -268,6 +268,10 @@ install : .events/install
|
|||||||
|
|
||||||
push : .events2/push-git .events2/push-web .events2/push-store
|
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 :
|
clean :
|
||||||
$(RMDIR) tmp testbuilds .events
|
$(RMDIR) tmp testbuilds .events
|
||||||
$(RM) .tests_enabled
|
$(RM) .tests_enabled
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<!doctype html>
|
<% url = (url || 'https://www.4chan.org/feedback'); %><!doctype html>
|
||||||
<html><head>
|
<html><head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="refresh" content="0; url=<%= url %>">
|
<meta http-equiv="refresh" content="0; url=<%= url %>">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user