Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
postprocessing
Media Metadata Indexer
Commits
f44beecf
Verified
Commit
f44beecf
authored
Oct 08, 2021
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
mediametadatatodb_app/resources/MediametadataToDB.py
View file @
f44beecf
...
...
@@ -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'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment