Question : javascript cross origin request
Answered by : rozsazoltan
# If you want model using either file:// or C:/,
# which stays true to the error message as they are not http://.
# You need a webserver for app-running from http:// protokoll.
# Example for model using (how to can get error with app-running from file:// or c:/ protokols)
- index.html
<script type="module" src="./script.js" />
- script.js
import ... from ...
https://gist.github.com/rozsazoltan/cf8486550d9d661a81bf8c9590f939fd
(In gist can you use search. CTRL+F)
Source : https://gist.github.com/rozsazoltan/cf8486550d9d661a81bf8c9590f939fd | Last Update : Sat, 17 Dec 22