Skip to content

Commit 0c7e29b

Browse files
committed
Fix
1 parent a7f0a3b commit 0c7e29b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,9 @@ def sparql_form():
181181
def tools():
182182
return render('tools.html')
183183

184-
#TODO: test on lido.nfdi4objects.net
185184
@app.route(f"/lido2rdf/convert", methods=["POST"])
186185
def lido_convert():
187-
''' Proxy to LIDO converter service '''
188-
converter_url = os.getenv('LIDO_CONVERTER_HOST', 'http://converter:5000')
186+
converter_url = os.getenv('LIDO_PROXY_URL','http://converter:5000/convert')
189187
files = { k : io.BytesIO(v.read()) for k,v in request.files.items()}
190188
format = request.form.get('format','turtle')
191189
return requests.post(converter_url, files=files, data={'format':format}).text

0 commit comments

Comments
 (0)