diff --git a/rai_core_flask/rai_core_flask/environments/azure_nb_environment.py b/rai_core_flask/rai_core_flask/environments/azure_nb_environment.py index 9f710ababc..d2d4ecfab4 100644 --- a/rai_core_flask/rai_core_flask/environments/azure_nb_environment.py +++ b/rai_core_flask/rai_core_flask/environments/azure_nb_environment.py @@ -37,9 +37,11 @@ def __init__(self, service): instance_name = self.nbvm["instance"] domain_suffix = self.nbvm["domainsuffix"] if service.is_private_link: - url_format = f"{instance_name}.{domain_suffix}:{service.port}" + url_format = f"{instance_name}.{domain_suffix}\ + :{service.port}" else: - url_format = f"{instance_name}-{service.port}.{domain_suffix}" + url_format = f"{instance_name}-{service.port}\ + .{domain_suffix}" self.base_url = \ f"https://{url_format}" self.successfully_detected = True