Skip to content

Commit

Permalink
Segundo intento de 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 da8333b commit cbdb14c
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 = '/web-cake-shop/dummy/promotions.json';
fetch(url)
.then(response => {
if (response.status === 200){
Expand Down

0 comments on commit cbdb14c

Please sign in to comment.