From 46a7df9824ab22b78606151c3f637be667904bbd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 17 Apr 2016 04:31:18 -0700 Subject: [PATCH] Port captchas task. --- Makefile | 6 +++++- redirect.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 31a1b6f9f..ef325573f 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/redirect.html b/redirect.html index 45a31e6a2..98360f04e 100644 --- a/redirect.html +++ b/redirect.html @@ -1,4 +1,4 @@ - +<% url = (url || 'https://www.4chan.org/feedback'); %>