import os
from dotenv import load_dotenv

basedir = os.path.abspath(os.path.dirname(__file__))
load_dotenv(os.path.join(basedir, ".env"))

class Config(object):
    SECRET_KEY = os.environ.get("SECRET_KEY") or b"\<KEY>"
    JWT_SECRET_KEY = os.environ.get("JWT_SECRET_KEY") or b'\<KEY>'
    JWT_ERROR_MESSAGE_KEY = "error"
    JWT_BLACKLIST_ENABLED = True
    JWT_BLACKLIST_TOKEN_CHECKS = ["access", "refresh"]

import os
from dotenv import load_dotenv

basedir = os.path.abspath(os.path.dirname(__file__))
load_dotenv(os.path.join(basedir, ".env"))

class Config(object):
    SECRET_KEY = os.environ.get("SECRET_KEY") or b"\<KEY>"
    JWT_SECRET_KEY = os.environ.get("JWT_SECRET_KEY") or b'\<KEY>'
    JWT_ERROR_MESSAGE_KEY = "error"
    JWT_BLACKLIST_ENABLED = True
    JWT_BLACKLIST_TOKEN_CHECKS = ["access", "refresh"]
