Skip to content

Commit

Permalink
Intenta corregir url de data dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
achique-luisdan authored Oct 2, 2022
1 parent 1a7c1a2 commit da8333b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ let $promotions = document.getElementById("promotions");

function getPromotions() {
// http://127.0.0.1:8000/promotions
let url = '/dummy/promotions.json';
let url = './dummy/promotions.json';
fetch(url)
.then(response => {
if (response.status === 200){
Expand Down

0 comments on commit da8333b

Please sign in to comment.