We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c834114 commit 55fd91fCopy full SHA for 55fd91f
static/js/dashboard.js
@@ -1,5 +1,5 @@
1
// Fetch source data for charts from Django REST API
2
-fetch(document.location.origin + '/tickets/api/tickets')
+fetch('https://django-ecommerce1.herokuapp.com/tickets/api/tickets')
3
.then((response) => {
4
return response.json();
5
})
0 commit comments