Files
pydase/src/pydase/config.py
Mose Müller fb6fac5f9a allways mount frontend files at port 8001
- files were previously only mounted when in production mode
2023-08-17 16:41:40 +02:00

10 lines
254 B
Python

from typing import Literal
from confz import BaseConfig, EnvSource
class OperationMode(BaseConfig): # type: ignore
environment: Literal["development"] | Literal["production"] = "development"
CONFIG_SOURCES = EnvSource(allow=["ENVIRONMENT"])