From 4d237caf2696de5d462d78ec44a94e8b33091f31 Mon Sep 17 00:00:00 2001 From: Vincent Tam Date: Thu, 4 Feb 2021 21:59:24 +0100 Subject: [PATCH] Remove references to my Staticman bot (#221) A commit that I should make a year ago. Sorry for delay. I've made it now due to 1. Staticman's maintainer's recommendation to move away from any public API instance in issue 317. 2. My recent successful setup of my new personal API instance on Heroku, thanks to - a one-click deploy button to Heroku - an online article about GitHub App setup for Staticman v3 Successful MWE: see https://git.io/smdemo --- assets/js/staticman.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/staticman.js b/assets/js/staticman.js index 0e933e5b..2d6011e9 100644 --- a/assets/js/staticman.js +++ b/assets/js/staticman.js @@ -9,7 +9,7 @@ $(document).ready(function() { $('input[type="submit"]:disabled').removeClass('hidden'); // show "submitted" // Construct form action URL form JS to avoid spam - var api = '{{ .api | default "staticman3.herokuapp.com" }}'; + var api = '{{ .api }}'; var gitProvider = '{{ .gitprovider }}'; var username = '{{ .username }}'; var repo = '{{ .repo }}';