Add CORS middleware
This commit is contained in:
@@ -18,12 +18,11 @@ Issues:
|
||||
- hardcoded secret key in auth.py -> centralise env var loading
|
||||
- i don't like the error handling in the scanner - doesn't pass errors correctly
|
||||
- cors for frontend: https://fastapi.tiangolo.com/tutorial/cors
|
||||
- disableCards var isn't doing anything
|
||||
- Load cors from env var or something
|
||||
- BackgroundScanner shouldn't get a single session for the whole lifecycle
|
||||
- input validation maybe
|
||||
- too many imports
|
||||
- inconsistent logging (request logging?)
|
||||
- rate limiting maybe
|
||||
- pretty sure the controllers are doing too much stuff
|
||||
- hardware call tests or sth
|
||||
- .env.example
|
||||
- hardware call tests or sth
|
||||
Reference in New Issue
Block a user