Skip to content

Commit

Permalink
testing new summary fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
jagrosh committed Feb 10, 2024
1 parent 50978a6 commit 1c688da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/load-summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ $(document).ready(function() {
$('#output').html('Invalid giveaway summary provided.');
return;
}
var url = "https://cdn.discordapp.com/attachments/"+loc+"/giveaway_summary.json";
//var url = "https://cdn.discordapp.com/attachments/"+loc+"/giveaway_summary.json";
var url = "https://summary-api.giveawaybot.party/?giveaway=" + loc;
if(loc) {
$.ajax({
url: cors_url + encodeURIComponent(url) ,
Expand Down

0 comments on commit 1c688da

Please sign in to comment.