mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
Fix missing property decorator on settings.prod_url
This commit is contained in:
@ -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/"
|
||||
|
Reference in New Issue
Block a user