Commit 75426c7e authored by Gerald Salin's avatar Gerald Salin
Browse files

add a proxy to jflow server to only use the universal 80 port

parent 1bd46dce
......@@ -530,7 +530,7 @@ class JFlowServer (object):
socket_opt = self.jflow_config_reader.get_socket_options()
if not os.path.isdir(path):
return {
'url':socket_opt[2]+'://' + socket_opt[0] + ':' + str(socket_opt[1]) + '/' + path.replace(work_dir, web_path),
'url':socket_opt[2]+'://' + str(socket_opt[3]) + '/' + path.replace(work_dir, web_path),
'size': get_octet_string_representation(os.path.getsize(os.path.abspath(path))),
'extension': os.path.splitext(path)[1]
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment