Skip to content

Commit

Permalink
readme - add license note
Browse files Browse the repository at this point in the history
Signed-off-by: Rafał Safin <[email protected]>
  • Loading branch information
Rafał Safin committed Mar 5, 2024
1 parent 531e29b commit 4d34829
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ _Check out online example: https://minimal-fastapi-postgres-template.rafsaf.pl,
- [Design](#design)
- [Deployment strategies - via Docker image](#deployment-strategies---via-docker-image)
- [Docs URL, CORS and Allowed Hosts](#docs-url-cors-and-allowed-hosts)
- [License](#license)


## Features
Expand Down Expand Up @@ -403,3 +404,7 @@ There are some **opinionated** default settings in `/app/main.py` for documentat

Prevents HTTP Host Headers attack, you shoud put here you server IP or (preferably) full domain under it's accessible like `example.com`. By default in .env there are two most popular records: `ALLOWED_HOSTS=["localhost", "127.0.0.1"]`


## License

The code is under MIT License. It's here for educational purposes, created mainly to have a place where up-to-date Python and FastAPI software lives. Do whatever you want with this code.

0 comments on commit 4d34829

Please sign in to comment.