Commit Graph

10 Commits

Author SHA1 Message Date
078514b69e Add CORS handling, and load settings from .env
Some checks failed
Flake8 / build (3.11) (push) Successful in 10s
Mypy / build (3.11) (push) Failing after 1m46s
Pylint / build (3.11) (push) Successful in 28s
2026-03-11 19:21:44 +01:00
4eb906f6d4 Code cleanup 2024-05-07 17:12:23 +02:00
878a2b6bbf Add missing parameter 2024-05-07 16:50:41 +02:00
d090e90ee2 Add Cache-Control headers 2024-05-06 17:24:27 +02:00
1fa64feefc Redirect empty GET with request to client address 2023-12-25 14:16:45 +01:00
0b4322d671 Handle AddressNotFoundError and allow empty placeholder GeoLocation for failed queries 2023-12-18 14:59:27 +01:00
949e8582bc documentation fixes 2023-12-12 14:49:53 +01:00
734ac03c65 Add post method and let the get method reuse that code 2023-12-12 14:46:14 +01:00
49e16b106f This decorator messes up pydantics BaseModel 2023-12-12 14:45:51 +01:00
4c4203a679 Simple FastAPI geolocation app 2023-12-12 10:43:09 +01:00