aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api
diff options
context:
space:
mode:
authorJulien EMMANUEL <contact@julien-emmanuel.com>2021-04-19 13:09:24 +0200
committerGitHub <noreply@github.com>2021-04-19 13:09:24 +0200
commit96ad08438b53c91195127f960861119ec1a49291 (patch)
treec57bb84ef7dc1f727f290416f822fa37fe597839 /files/fr/web/api
parent101a16bd32d89a43501507732940c9930e60d5a3 (diff)
downloadtranslated-content-96ad08438b53c91195127f960861119ec1a49291.tar.gz
translated-content-96ad08438b53c91195127f960861119ec1a49291.tar.bz2
translated-content-96ad08438b53c91195127f960861119ec1a49291.zip
Fix error in french example of fetch (#577)
There must have been some unfortunate copy / paste from english here
Diffstat (limited to 'files/fr/web/api')
-rw-r--r--files/fr/web/api/windoworworkerglobalscope/fetch/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/api/windoworworkerglobalscope/fetch/index.html b/files/fr/web/api/windoworworkerglobalscope/fetch/index.html
index ac6ff19360..bb1399ba26 100644
--- a/files/fr/web/api/windoworworkerglobalscope/fetch/index.html
+++ b/files/fr/web/api/windoworworkerglobalscope/fetch/index.html
@@ -126,7 +126,7 @@ let mesEntetes = new Headers();
mesEntetes.append('Content-Type', 'image/jpeg');
const monInit = { method: 'GET',
- headers: myHeaders,
+ headers: mesEntetes,
mode: 'cors',
cache: 'default' };