From 45b27ca1ca9b264c080604463d4a28ef1d2782f5 Mon Sep 17 00:00:00 2001 From: robo-bo Date: Mon, 29 Aug 2022 23:12:51 +0300 Subject: [PATCH] fixes --- Sources/pyOpenRPA/Orchestrator/Server.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/Sources/pyOpenRPA/Orchestrator/Server.py b/Sources/pyOpenRPA/Orchestrator/Server.py index 7056441f..2283dc2c 100644 --- a/Sources/pyOpenRPA/Orchestrator/Server.py +++ b/Sources/pyOpenRPA/Orchestrator/Server.py @@ -493,21 +493,6 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler): # check if file in FileURL - File Path Mapping Dict if lFileURL.lower() in gSettingsDict["FileManager"]["FileURLFilePathDict"]: self.SendResponseContentTypeFile('application/octet-stream', gSettingsDict["FileManager"]["FileURLFilePathDict"][lFileURL]) - - # Index page - elif self.path == gSettingsDict["ServerDict"]["URLIndexStr"]: - lURLItemDict = { - "Method":"GET", - "URL": gSettingsDict["ServerDict"]["URLIndexStr"], - "MatchType": "EqualCase", - "ResponseFilePath": os.path.normpath(os.path.join(lOrchestratorFolder, "Web\\Index.xhtml")), - "ResponseContentType": "text/html"} - #Check if all condition are applied - lFlagURLIsApplied=False - lFlagURLIsApplied=self.URLItemCheckDo(lURLItemDict, "GET") - if lFlagURLIsApplied: - self.ResponseDictSend() - return else: #Set access denied code # Send response status code