diff options
author | zeripath <art27@cantab.net> | 2019-05-02 14:09:39 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-05-02 16:09:39 +0300 |
commit | ade88a877d7f3c1fba466359198b8aa8ce5f28f8 (patch) | |
tree | 05ba56fbd3ac14068ccd1cc7deb713caec725db0 /templates/base | |
parent | 159294f79991ad50747cb5f14c82aadfdc77f2c8 (diff) | |
download | gitea-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.tmpl | 2 |
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}} |