diff --git a/src/voxkit/config.py b/src/voxkit/config.py index 4b099be..fc7214d 100644 --- a/src/voxkit/config.py +++ b/src/voxkit/config.py @@ -17,7 +17,7 @@ } Mode = Literal["MFAENGINE", "W2TGENGINE"] -HELP_URL = "http://localhost:3000/help" +HELP_URL = "https://voxkit-web.vercel.app/help" def startup_routine(): diff --git a/src/voxkit/config/app_config.py b/src/voxkit/config/app_config.py index 1fce3c2..d28b3ce 100644 --- a/src/voxkit/config/app_config.py +++ b/src/voxkit/config/app_config.py @@ -128,7 +128,7 @@ class AppConfig: version: str description: str introduction: str - help_url: str = "http://localhost:3000/help" + help_url: str = "https://voxkit-web.vercel.app/help" release_date: Optional[str] = None release_notes: Optional[str] = None @@ -157,7 +157,7 @@ def from_yaml(cls, config_path: Path) -> "AppConfig": version=data.get("version", "0.0.0"), description=data.get("description", ""), introduction=data.get("introduction", ""), - help_url=data.get("help_url", "http://localhost:3000/help"), + help_url=data.get("help_url", "https://voxkit-web.vercel.app/help"), release_date=data.get("release_date"), release_notes=data.get("release_notes"), ) diff --git a/tests/config/test_app_config.py b/tests/config/test_app_config.py index af20bf6..e808e12 100644 --- a/tests/config/test_app_config.py +++ b/tests/config/test_app_config.py @@ -52,11 +52,7 @@ def test_dataclass_fields(self): assert config.version == "1.0.0" assert config.description == "Test description" assert config.introduction == "Test intro" - assert config.help_url == "http://localhost:3000/help" - assert config.release_date is None - assert config.release_notes is None - - def test_dataclass_with_optional_fields(self): + assert config.help_url == "https://voxkit-web.vercel.app/help" config = AppConfig( app_name="TestApp", version="2.0.0", @@ -107,11 +103,7 @@ def test_from_yaml_with_defaults(self, tmp_path): assert config.version == "0.0.0" assert config.description == "" assert config.introduction == "" - assert config.help_url == "http://localhost:3000/help" - assert config.release_date is None - assert config.release_notes is None - - def test_from_yaml_file_not_found(self, tmp_path): + assert config.help_url == "https://voxkit-web.vercel.app/help" nonexistent_file = tmp_path / "nonexistent.yaml" with pytest.raises(FileNotFoundError) as exc_info: