Skip to content

Commit

Permalink
hilan image
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Goltsman committed Nov 1, 2020
1 parent 3144a24 commit 286d3ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dockerbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,13 @@ def sign_hilan():

return jsonify('{"signed":"0","data":"Hilan is not configured"}')

@app.route('/hilan/statement')
def infogan_statement():
if os.path.exists(hilan_Image):
return send_file(str(hilan_Image), mimetype='image/png', cache_timeout=-1)
else:
return send_file(str(default_Image), mimetype='image/jpeg',cache_timeout=-1)


#### Not Operational Yet ######
@app.route('/hbinov/sign')
Expand Down

0 comments on commit 286d3ec

Please sign in to comment.