Skip to content

Commit 55fd91f

Browse files
committed
Hardcode django rest api fetch value for heroku
1 parent c834114 commit 55fd91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Fetch source data for charts from Django REST API
2-
fetch(document.location.origin + '/tickets/api/tickets')
2+
fetch('https://django-ecommerce1.herokuapp.com/tickets/api/tickets')
33
.then((response) => {
44
return response.json();
55
})

0 commit comments

Comments
 (0)