13 lines
409 B
Python
13 lines
409 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
|
|
load_dotenv('.env')
|
|
|
|
TRASHBOXES_TOKEN = os.environ.get("TRASHBOXES_TOKEN")
|
|
TRASHBOXES_BASE_URL = os.environ.get("TRASHBOXES_BASE_URL")
|
|
|
|
SECRET_KEY = os.environ.get("SECRET_KEY")
|
|
ALGORITHM = os.environ.get("ALGORITHM")
|
|
ACCESS_TOKEN_EXPIRE_MINUTES = int(os.environ.get("ACCESS_TOKEN_EXPIRE_MINUTES"))
|
|
|
|
SQLALCHEMY_DATABASE_URL = os.environ.get("SQLALCHEMY_DATABASE_URL") |