Update core/config.py
Browse files- core/config.py +1 -6
core/config.py
CHANGED
@@ -8,12 +8,7 @@ load_dotenv()
|
|
8 |
|
9 |
|
10 |
class Settings(BaseSettings):
|
11 |
-
|
12 |
-
DATABASE_USER: str = os.getenv("PG_USER")
|
13 |
-
DATABASE_PASSWORD: str = os.getenv("PG_PASSWORD")
|
14 |
-
DATABASE_HOST: str = os.getenv("PG_HOST")
|
15 |
-
DATABASE_PORT: str = os.getenv("PG_PORT")
|
16 |
-
DATABASE_URL = f"postgresql://{DATABASE_USER}:{quote_plus(DATABASE_PASSWORD)}@{DATABASE_HOST}:{DATABASE_PORT}/{DATABASE_NAME}"
|
17 |
JWT_SECRET_KEY: str = os.getenv("JWT_SECRET")
|
18 |
JWT_ALGORITHM: str = os.getenv("JWT_ALGORITHM")
|
19 |
ACCESS_TOKEN_EXPIRE_MINUTES: int = os.getenv("ACCESS_TOKEN")
|
|
|
8 |
|
9 |
|
10 |
class Settings(BaseSettings):
|
11 |
+
DATABASE_URL = "postgresql://snapfeast_db_owner:4fLiupkCsN5E@ep-fancy-glade-a57hqsn3.us-east-2.aws.neon.tech/snapdb?sslmode=require"
|
|
|
|
|
|
|
|
|
|
|
12 |
JWT_SECRET_KEY: str = os.getenv("JWT_SECRET")
|
13 |
JWT_ALGORITHM: str = os.getenv("JWT_ALGORITHM")
|
14 |
ACCESS_TOKEN_EXPIRE_MINUTES: int = os.getenv("ACCESS_TOKEN")
|