diff --git a/source/Article.js b/source/Article.js index 404ed29..6517600 100644 --- a/source/Article.js +++ b/source/Article.js @@ -26,7 +26,7 @@ const repo = 'laem/velolibre' const getLastEdit = (name, action) => fetch( - `https://api.github.com/repos/${repo}/commits?path=src%2Farticles%2F${name}.md&page=1&per_page=1` + `https://api.github.com/repos/${repo}/commits?path=source%2Farticles%2F${name}.md&page=1&per_page=1` ) .then((res) => res.json()) .then((json) => { @@ -77,7 +77,7 @@ export default ({}) => { Mis à jour le{' '} {lastEditDate} diff --git a/source/wiki.js b/source/wiki.js index cf637d0..c97ddd9 100644 --- a/source/wiki.js +++ b/source/wiki.js @@ -33,7 +33,7 @@ const repo = 'laem/velolibre' export const getLastEdit = (name, action) => fetch( - `https://api.github.com/repos/${repo}/commits?path=src%2Farticles%2F${name}.md&page=1&per_page=1` + `https://api.github.com/repos/${repo}/commits?path=source%2Farticles%2F${name}.md&page=1&per_page=1` ) .then((res) => res.json()) .then((json) => { diff --git "a/source/\303\211tape.js" "b/source/\303\211tape.js" index 7452850..62b58c4 100644 --- "a/source/\303\211tape.js" +++ "b/source/\303\211tape.js" @@ -52,7 +52,7 @@ export default ({}) => { Mis à jour le{' '} {lastEditDate}