more caching stuff

This commit is contained in:
Cyberes 2023-08-23 16:23:24 -06:00
parent ff8bb0f7c6
commit f76d7bbc5d
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def get_model():
'code': 502,
'error': 'failed to reach backend',
'type': error.__class__.__name__
}), 500 # return 500 so Cloudflare doesn't intercept us
}), 200 # return 200 so Cloudflare caches the response
else:
return jsonify({
'result': model,