change default deploy_url and api_url
This commit is contained in:
parent
3f1c13b1ce
commit
a26962263d
@ -630,10 +630,12 @@ class Config(Base):
|
||||
backend_port: int | None = None
|
||||
|
||||
# The backend url the frontend will connect to. This must be updated if the backend is hosted elsewhere, or in production.
|
||||
api_url: str = f"http://localhost:{backend_port}"
|
||||
api_url: str = f"http://localhost:{constants.DefaultPorts.BACKEND_PORT}"
|
||||
|
||||
# The url the frontend will be hosted on.
|
||||
deploy_url: Optional[str] = f"http://localhost:{frontend_port}"
|
||||
deploy_url: Optional[str] = (
|
||||
f"http://localhost:{constants.DefaultPorts.FRONTEND_PORT}"
|
||||
)
|
||||
|
||||
# The url the backend will be hosted on.
|
||||
backend_host: str = "0.0.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user