use simpler dotenv file
This commit is contained in:
parent
171a94f174
commit
948eb75416
3 changed files with 4 additions and 11 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue