HTML and CORS blocking API requests

Hi Devs and coders of experience.

I’m a lowly ameba in the pool of understanding code so be as gentle with me.

I’m using a Mac and GROK LLM to assist building a basic time clocker which I have asked to track software usage with a duration capture.
its currently doing API requests to draw data and display in my html page for frontend display.

its getting blocked by CORS whenever i review the debug in Chrome.

one of the suggestions I’ve tried is:

  1. make a static folder with the html within library/ applicationsupport/aw-server/static/test.html
    This fails to load the page.

  2. use localhost 8000 via terminal to test.
    the page loads but the API request still fails to capture due to CORS blocking

  3. I have also tried to amend a aw-server.toml file (guessing this is config file)
    have tried to add Cors request to my local host file. this now breaks the app from running.
    aw-server doesn’t run or the local host 5600

Baring in mind I no coder and have not idea about CLI parameter afraid to break my Mac in the process.

is there away for non coders to perhaps apply a settings in GUI input an allow a url or local host to allow driving some data to it?

apologies is this problem is beneath you. but I would appreciate the assistance.
console error