Appel Daktary en sécurisé
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@
|
|||||||
const afficheLaListeDesJournaux = () => {
|
const afficheLaListeDesJournaux = () => {
|
||||||
const container = document.querySelector('#journaux');
|
const container = document.querySelector('#journaux');
|
||||||
|
|
||||||
fetch('http://api.daktary.com/yaf/journal-d-un-formateur-en-2015/tree/master/journaux')
|
fetch('https://api.daktary.com/yaf/journal-d-un-formateur-en-2015/tree/master/journaux')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(journaux => {
|
.then(journaux => {
|
||||||
journaux.body.forEach(journal => {
|
journaux.body.forEach(journal => {
|
||||||
|
|||||||
Reference in New Issue
Block a user