hey This is Yiannis. i work as a QA engineer for a company that acts in the open source world. Many interests and much eager to learn more about the world that comes.
Hello Yiannis, thanks to run the code. the CORS error says that you cannot using the browser to directly point a file on your machine.
so you have two possibilities now
you can run a local webserver as you properly mentioned here
you can try setting the flag privacy.file_unique_origin to false on Firfox browser ( check it searching for about:config ).
tbh it's been a while since I've run this code, I'll check it out soon. in the meantime I hope these tips could help you.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
i figured out that i had to run a server after all
goexec 'http.ListenAndServe(
:8081, http.FileServer(http.Dir(
.)))'
Hello Yiannis, thanks to run the code. the CORS error says that you cannot using the browser to directly point a file on your machine.
so you have two possibilities now
tbh it's been a while since I've run this code, I'll check it out soon. in the meantime I hope these tips could help you.