mirror of
https://github.com/onyx-and-iris/vban-tui.git
synced 2026-03-23 18:29:17 +00:00
fix default streamname
This commit is contained in:
parent
b1f0247e18
commit
2d1e341d31
@ -26,7 +26,7 @@ def is_valid_streamname(value: str) -> str:
|
||||
class Settings(BaseSettings):
|
||||
host: Annotated[str, AfterValidator(is_valid_host)] = 'localhost'
|
||||
port: Annotated[int, AfterValidator(is_valid_port)] = 6980
|
||||
streamname: Annotated[str, AfterValidator(is_valid_streamname)] = ''
|
||||
streamname: Annotated[str, AfterValidator(is_valid_streamname)] = 'Command1'
|
||||
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user