Merge pull request #14 from Textualize/prod-env

prod env by default
This commit is contained in:
Will McGugan
2023-09-06 10:30:10 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual_web"
version = "0.4.2"
version = "0.5.0"
description = "Serve Textual apps"
authors = ["Will McGugan <will@textualize.io>"]
license = "MIT"

View File

@@ -47,7 +47,7 @@ def get_environ_int(name: str, default: int) -> int:
DEBUG: Final = get_environ_bool("DEBUG")
"""Enable debug mode."""
ENVIRONMENT: Final[str] = get_environ("GANGLION_ENVIRONMENT", "dev")
ENVIRONMENT: Final[str] = get_environ("GANGLION_ENVIRONMENT", "prod")
"""Select alternative environment."""
API_KEY: Final[str] = get_environ("GANGLION_API_KEY", "")