Skip to content

Commit 7e55504

Browse files
authored
Merge pull request #18 from sikai00/fix-top-level-await-getcolorjs
Fix link for fetch
2 parents aaf0457 + 9cc7390 commit 7e55504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// fetch request
2-
const colors = fetch('https://mdn.github.io/js-examples/modules/top-level-await/data/colors.json')
2+
const colors = fetch('https://mdn.github.io/js-examples/module-examples/top-level-await/data/colors.json')
33
.then(response => response.json());
44

5-
export default await colors;
5+
export default await colors;

0 commit comments

Comments
 (0)