Skip to content

Commit

Permalink
update applause-button-api
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarren-scottlogic committed Aug 13, 2024
1 parent 6d7eaed commit bf048e6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ canonical:
url: https://blog.scottlogic.com
scottlogic:
url: https://www.scottlogic.com
applause-button-api:
url: "https://ip2o6c571d.execute-api.eu-west-2.amazonaws.com/production"
permalink: "/:year/:month/:day/:title.html"
safe: true
twitter_handle: Scott_Logic
Expand Down
1 change: 1 addition & 0 deletions _includes/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<div class="social">
<applause-button color="{% include post_colour_hex.html post=page %}"
url="{{ site.canonical.url }}{{ page.url }}"
api="{{ site.applause-button-api.url }}/claps-updated"
multiclap="true"/>
</div>
2 changes: 1 addition & 1 deletion script.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/load-clap-count.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function loadClapCount() {
return el.getAttribute("data-url");
});
jQuery.ajax({
url: "https://ltxkcod9s9.execute-api.us-east-1.amazonaws.com/production/get-multiple",
url: "https://ip2o6c571d.execute-api.eu-west-2.amazonaws.com/production/get-multiple",
method: "POST",
data: JSON.stringify(urls),
headers: {
Expand Down

0 comments on commit bf048e6

Please sign in to comment.