Changed yaml-editor path

master
Ruben Bouman 2020-02-20 16:24:56 +01:00
parent 10a1a08330
commit 3530cd4dc6
1 changed files with 3 additions and 3 deletions

View File

@ -43,11 +43,11 @@ class YamlEditor:
Starts the webserver on the given port.
"""
try:
os.chdir('./YAML-editor/dist')
os.chdir('./yaml-editor/dist')
self.httpd = TCPServer(('', self.port), QuietHTTPRequestHandler)
print("YAML editor started at port", self.port)
url = 'http://localhost:' + str(self.port)
print("YAML editor started at port %d" % self.port)
url = 'http://localhost:%d/yaml-editor' % self.port
if not os.getenv('DeTTECT_DOCKER_CONTAINER'):
print("Opening webbrowser: " + url)