summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-05-02 14:09:39 +0100
committerLauris BH <lauris@nix.lv>2019-05-02 16:09:39 +0300
commitade88a877d7f3c1fba466359198b8aa8ce5f28f8 (patch)
tree05ba56fbd3ac14068ccd1cc7deb713caec725db0 /templates/base
parent159294f79991ad50747cb5f14c82aadfdc77f2c8 (diff)
downloadgitea-ade88a877d7f3c1fba466359198b8aa8ce5f28f8.tar.gz
gitea-ade88a877d7f3c1fba466359198b8aa8ce5f28f8.zip
Allow Recaptcha service url to be configured (#6820)
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 2481b2187c..5d1c2e9280 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -46,7 +46,7 @@
{{end}}
{{if .EnableCaptcha}}
{{if eq .CaptchaType "recaptcha"}}
- <script src="https://www.google.com/recaptcha/api.js" async></script>
+ <script src='{{ URLJoin .RecaptchaURL "api.js"}}' async></script>
{{end}}
{{end}}
{{if .RequireTribute}}