タイトル | : JavaScript基礎講習 120.htmlにつきまして |
投稿日 | : 2021/12/24(Fri) 18:13 |
投稿者 | : hide |
120,htmlのソースで店名を変更すると下記のエラーとなります。
********
Fetch API cannot load file:///〜〜〜/shop.json. URL scheme "file" is not supported.
getJson @ 120.html:72
120.html:72 Uncaught (in promise) TypeError: Failed to fetch
at getJson (120.html:72)
at HTMLSelectElement.<anonymous> (120.html:59)
********
オリジナルソースでも同様です。
これはこちらの環境の問題なのでしょうか?
宜しくお願いします。