Vladimir Bolshakov

02/01/2022, 2:09 PM
Hi! Is it possible to customise base URL of Orion UI in static builds? I have started standalone Orion server (without agent) and UI is not refreshed, because of CORS errors. UI app try to fetch data from
. I think the reason is here:

Anna Geller

02/01/2022, 2:25 PM
Good question, normally you should be able to adjust this setting using an environment variable as follows:
Copy code
export PREFECT_ORION_API_HOST="your_host"
but not sure how UI uses this setting. I’ll ask the team
ok, I’m afraid you’re correct - this is hardcoded for now, so you would need to either wait a little until this gets separated out into its own settings, or modify the source code and build from your own fork

Vladimir Bolshakov

02/01/2022, 2:48 PM
Ok! Thank you, Anna. I hope this will be fixed in future Orion builds.