use simpler dotenv file

This commit is contained in:
Osman Faruk Bayram 2025-05-05 16:13:41 +03:00
parent 171a94f174
commit 948eb75416
3 changed files with 4 additions and 11 deletions

View file

@ -29,15 +29,7 @@ def get_session_db():
yield session
### SECRET KEY ###
SECRET_KEY = os.getenv("SECRET_KEY")
ALGORITHM = os.getenv("ALGORITHM")
ACCESS_TOKEN_EXPIRE_MINUTES = int(os.getenv("ACCESS_TOKEN_EXPIRE_MINUTES"))
pwd_context = CryptContext(schemes=[f"{os.getenv('CRYPTO_TYPE')}"], deprecated="auto")
origins = [
"http://localhost",
"http://localhost:8080",