Have to add CORS_ORIGINS to allow UI request
Describe the bug UI keep showing "loading", then I can see the error from the browser Access to fetch at 'https://192.168.1.1:7860/health' from origin 'http://192.168.1.1:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. client.ts:11 GET https://192.168.1.1:7860/health net::ERR_FAILED 200 (OK)
Steps to Reproduce after git clone the geti repo use just run-server and npm run start -- --host 192.168.1.1 to launch the backend and UI. then in the browser use http://192.168.1.1:3000 to open Geti. UI shows "loading" forever
Environment: Ubuntu 24.04
Temprory fix is to launch the backend with CROS_ORIGINS=http://192.168.1.1:3000 just run-server Then the backend will accept the UI requests. Geti can run properly.