Skip to content

Commit

Permalink
Fixed the twitchalerts oauth URL
Browse files Browse the repository at this point in the history
Changed socket.io include
  • Loading branch information
pajlada committed Mar 5, 2016
1 parent 06cebb3 commit bc4a60c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/pleblist_host.html
Expand Up @@ -9,7 +9,8 @@
</div>
{% endblock %}
{% block footer %}
<script src="https://streamtip.com/socket.io/socket.io.js" type="text/javascript"></script>
<!--<script async src="https://streamtip.com/socket.io/socket.io.js" type="text/javascript"></script>-->
<script src="https://cdn.socket.io/socket.io-1.4.5.js"></script>
<script type="text/javascript">
secret_password = null;
streamtip_client_id = '{{ streamtip_data.client_id }}';
Expand All @@ -20,7 +21,7 @@
twitchalerts_client_id = '{{ twitchalerts_data.client_id }}';
function twitchalerts_auth()
{
window.location.href = 'https://www.twitchalerts.com/api/v1.0/authorize?client_id=lSgo4ZQthJJ5PF5oBYvHHroISRkL3VZXNJtELdgM&redirect_uri=https://paj.pajlada.se/api/v1/twitchalerts/oauth&response_type=code&scope=donations.read+donations.create';
window.location.href = 'https://www.twitchalerts.com/api/v1.0/authorize?client_id={{ twitchalerts_data.client_id }}&redirect_uri={{ twitchalerts_data.redirect_uri }}&response_type=code&scope=donations.read+donations.create';
}
</script>
{% assets 'pleblist_shared' %}
Expand Down

0 comments on commit bc4a60c

Please sign in to comment.