1
0
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:
thatmattlove
2021-09-16 13:59:55 -07:00
parent 4792269168
commit b0d1e63d33

View File

@ -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/"