Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
remove unused values
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Nov 11, 2024
1 parent f550016 commit 1c923fc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions config/envs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,11 @@
class DefaultConfig(object):
# Application Config
FLASK_ENV = CommonConfig.FLASK_ENV
SECRET_KEY = CommonConfig.SECRET_KEY
SESSION_COOKIE_NAME = environ.get("SESSION_COOKIE_NAME")
FLASK_ROOT = str(Path(__file__).parent.parent.parent)

# Logging
FSD_LOG_LEVEL = logging.WARNING

# Frontend
STATIC_FOLDER = "static"
TEMPLATES_FOLDER = "templates"
FORCE_OPEN = strtobool(getenv("FORCE_OPEN", "False"))

# Database
SQLALCHEMY_DATABASE_URI = environ.get("DATABASE_URL", "").replace("postgres://", "postgresql://")
2 changes: 0 additions & 2 deletions config/envs/development.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
@configclass
class DevelopmentConfig(Config):
# Application Config
SECRET_KEY = "dev" # pragma: allowlist secret
SESSION_COOKIE_NAME = "session_cookie"
FLASK_ENV = "development"

# Logging
Expand Down
2 changes: 0 additions & 2 deletions config/envs/unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
@configclass
class UnitTestConfig(Config):
# Application Config
SECRET_KEY = "test" # pragma: allowlist secret
SESSION_COOKIE_NAME = "session_cookie"

# Logging
FSD_LOG_LEVEL = logging.DEBUG
Expand Down

0 comments on commit 1c923fc

Please sign in to comment.