Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferie committed Jul 23, 2020
1 parent b17233e commit 6769531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you download (or clone) the repository, you can play this game just opening t
### Play locally

If you want to use it locally and fetch the questions in the `data` folder (you may want to improve them), do the following:
1. change the path in the `script.js` to get the JSON file in the data folder `const url = '../data/heroes-quiz-questions.json';`
1. change the path in `dist/script.js` to get the JSON file in the `data` folder `const e = '../data/heroes-quiz-questions.json';`
2. start a local server
3. host the `index.html` file on the local server (so it will fetch the path for the JSON file correctly avoiding CORS errors)

Expand Down

0 comments on commit 6769531

Please sign in to comment.