more cloudflare finicky stuff
This commit is contained in:
parent
f76d7bbc5d
commit
64e1b1654f
|
@ -25,6 +25,7 @@ def get_model():
|
||||||
model, error = get_running_model()
|
model, error = get_running_model()
|
||||||
if not model:
|
if not model:
|
||||||
return jsonify({
|
return jsonify({
|
||||||
|
'result': None,
|
||||||
'code': 502,
|
'code': 502,
|
||||||
'error': 'failed to reach backend',
|
'error': 'failed to reach backend',
|
||||||
'type': error.__class__.__name__
|
'type': error.__class__.__name__
|
||||||
|
|
Reference in New Issue