Guys, not sure when the problem was introduced, bu...
# contributing-to-airbyte
a
Guys, not sure when the problem was introduced, but I can’t develop UI in the last master - I am trying to call
localhost:8000/api
route from
localhost:3000
and get CORS errors which I was not receiving before… If I open localhost:8000 - webapp is opened. So I suppose something was changed in CORS or routing
u
in 0.27.0-alpha everything is working fine. I suppose it is something done in 0.27.3-alpha release.
g
yuck
u
when i run the UI from localhost:8000 all is well. is it the same for you?
u
but localhost:3000 is no good.
u
yep. :8000 works fine. I believe that any other url except the same where server is hosted, won’t work correctly from browser. CORS support was broken somewhere.
u
it seems highly likely that it has something to do with this change: https://github.com/airbytehq/airbyte/commit/63c7a33e3e864acf76d7b704a413316084597fd3
u
what's the easiest way to replicate this?
u
Yep, I have thought about the same. I suppose just setting
API_URL=<http://localhost:8001/api/v1/>
env variable on master will break webapp. EDIT: just validated that it is the easiest way to replicate
u
I think this fixed it for me.
u
i merged it into master. lmk if it helps.
g
sorry about this 🤦‍♂️