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
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
Anna Geller
02/01/2022, 2:43 PM
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
v
Vladimir Bolshakov
02/01/2022, 2:48 PM
Ok! Thank you, Anna. I hope this will be fixed in future Orion builds.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.