From ceb675607c8cf6ae844858d7df3beceeddb20161 Mon Sep 17 00:00:00 2001 From: MitchLloyd Date: Tue, 28 Jan 2025 09:47:26 +0000 Subject: [PATCH] Update common-content/en/module/js3/using-fetch/index.md Co-authored-by: Daniel Wagner-Hall --- common-content/en/module/js3/using-fetch/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common-content/en/module/js3/using-fetch/index.md b/common-content/en/module/js3/using-fetch/index.md index ac66f6070..4d3ee42d6 100644 --- a/common-content/en/module/js3/using-fetch/index.md +++ b/common-content/en/module/js3/using-fetch/index.md @@ -42,6 +42,8 @@ http://localhost:8000/index.html The `http://` prefix shows that you're accessing the file through a proper web server, even though that server is running on your own computer. +You need to be using `http://` (or `https://`) _not_ `file://` in order to use `fetch`. + ## Using `fetch` Previously, we had a list of films hard-coded in our `state`. Now, let's continue using our concept map to fetch data from a server.