Skip to content

Commit

Permalink
Optimize workbench url.
Browse files Browse the repository at this point in the history
  • Loading branch information
momchil-flex committed Oct 16, 2023
1 parent 1b6c725 commit f60bf47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidy3d/web/webapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def web_fn_wrapped(*args, **kwargs):

def _get_url(task_id: str) -> str:
"""Get the URL for a task on our server."""
return f"https://tidy3d.simulation.cloud/workbench?taskId={task_id}"
return f"{Env.current.website_endpoint}/workbench?taskId={task_id}"


@wait_for_connection
Expand Down

0 comments on commit f60bf47

Please sign in to comment.