From b0d1e63d331897f9beee48679db17025c0bdf28c Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Thu, 16 Sep 2021 13:59:55 -0700 Subject: [PATCH] Fix missing property decorator on settings.prod_url --- hyperglass/models/system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hyperglass/models/system.py b/hyperglass/models/system.py index ab97abe..02aaa5b 100644 --- a/hyperglass/models/system.py +++ b/hyperglass/models/system.py @@ -121,6 +121,7 @@ class HyperglassSystem(BaseSettings): """Get the hyperglass URL for when dev_mode is enabled.""" return f"http://localhost:{self.port!s}/" + @property def prod_url(self: "HyperglassSystem") -> str: """Get the UI-facing hyperglass URL/path.""" return "/api/"