Skip to content

Commit bffd8a0

Browse files
committed
fixes
1 parent 6e98a20 commit bffd8a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bota/src/bota/vm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def install_desktop_app_in_vm(
567567
click.echo("Now, Checking API Status...")
568568
ip = get_vm_ip()
569569
wait_till_desktop_api_up(ip, api_path_prefix)
570-
click.echo(f"Hurray! your desktop app is up and running. Visit http://{ip}{api_path_prefix or "/"} to see the API Docs.")
570+
click.echo(f"Hurray! your desktop app is up and running. Visit http://{ip}{api_path_prefix or '/'} to see the API Docs.")
571571

572572
def delete_installer(default_name):
573573
if os.path.exists(default_name):
@@ -579,8 +579,8 @@ def setup_apache_load_balancer_desktop_app(port, api_path_prefix):
579579
DocumentRoot /var/www/html
580580
ErrorLog ${{APACHE_LOG_DIR}}/error.log
581581
CustomLog ${{APACHE_LOG_DIR}}/access.log combined
582-
ProxyPass {api_path_prefix or "/"} http://127.0.0.1:{port}{api_path_prefix or "/"}
583-
ProxyPassReverse {api_path_prefix or "/"} http://127.0.0.1:{port}{api_path_prefix or "/"}
582+
ProxyPass {api_path_prefix or '/'} http://127.0.0.1:{port}{api_path_prefix or '/'}
583+
ProxyPassReverse {api_path_prefix or '/'} http://127.0.0.1:{port}{api_path_prefix or '/'}
584584
</VirtualHost>"""
585585
write_file_sudo(apache_conf, "/etc/apache2/sites-available/000-default.conf")
586586

0 commit comments

Comments
 (0)