forked from mirrors/thatmattlove-hyperglass
Fix missing property decorator on settings.prod_url
This commit is contained in:
parent
4792269168
commit
b0d1e63d33
1 changed files with 1 additions and 0 deletions
|
|
@ -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/"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue