Spaces:
CodeByBB
/
Sleeping

akhaliq HF Staff commited on
Commit
90a15f5
·
1 Parent(s): ebdc25f

Fix NameError: move SPACE_HOST definition before CORS configuration

Browse files

- SPACE_HOST was being used before it was defined, causing NameError
- Moved OAuth and environment variables before CORS middleware
- This was breaking the sign-in and preventing the backend from starting

1 file changed +8 -8
backend_api.py+8-8