now I am trying to fix another error related to https apparently when trying to use Gemini model.
Failed to execute ‘postMessage’ on ‘Worker’: SharedArrayBuffer transfer requires self.crossOriginIsolated.
Apparently seems to be related to needing https so trying with a self signed cert but ChatGPT is having some troubles with this one