Verified Commit f44beecf authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

use field proxyType to override default proxy setting

parent 5d042254
Pipeline #35028 passed with stages
in 1 minute and 54 seconds
......@@ -137,7 +137,10 @@ def _extract_dig_obj_vals(msg, access_status) -> dict:
# route goes over the internal image server
return_values['proto'] = 'redirect'
else:
return_values['proto'] = 'proxydirect'
if msg['proxyType']:
return_values['proto'] = msg['proxyType']
else:
return_values['proto'] = 'proxydirect'
else:
return_values['proto'] = 'file'
if return_values['type'] == 'image':
......
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