Closed mmaelicke closed 3 months ago
@JesJehle This one should solve the CORS issues.
I had to dig down quite deep into Starlette, the server FastAPI uses to find a way how we can set this header correctly. It will only work from localhost and the deadtrees.earth website, which I could not test so far for obvious reasons.
I will merge this as soon as it works locally for you
@JesJehle This one should solve the CORS issues.
I had to dig down quite deep into Starlette, the server FastAPI uses to find a way how we can set this header correctly. It will only work from localhost and the deadtrees.earth website, which I could not test so far for obvious reasons.