Skip to content

Commit

Permalink
Drop .env file support until Starlette comes to their senses
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Feb 5, 2024
1 parent eadbf8a commit bbf68d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libpvarki/middleware/mtlsheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


LOGGER = logging.getLogger(__name__)
CONFIG = Config(".env")
CONFIG = Config() # not supporting .env files anymore because https://github.com/encode/starlette/discussions/2446
DNDict = Mapping[str, str]


Expand Down
2 changes: 1 addition & 1 deletion src/libpvarki/mtlshelp/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


LOGGER = logging.getLogger(__name__)
CONFIG = Config(".env")
CONFIG = Config() # not supporting .env files anymore because https://github.com/encode/starlette/discussions/2446

# https://github.com/miguelgrinberg/python-socketio/discussions/1040 was very helpful

Expand Down

0 comments on commit bbf68d4

Please sign in to comment.