Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

adding preview channel to the FastAPI configuration #34

Closed JesJehle closed 3 months ago

JesJehle commented 3 months ago

To have the API working on the preview channels use by Firebase. I would also include: https://deadwood-d4a4b.* to allow_origin_regex All preview channels start with this: https://deadwood-d4a4b--update-deadwood-api-tr30x927.web.app/dataset/79

mmaelicke commented 3 months ago

I hope that a list of regex expressions is handled correctly by fastapi and we do not yet again end up with two entries in the response headers.

But it's a good idea!