Browse Source

maj apikaz

master
fabrice.regnier 2 weeks ago
parent
commit
95aa8172cc
  1. 8
      dockers/apikaz/source/app.py
  2. 1
      dockers/apikaz/source/index.html
  3. 0
      dockers/apikaz/source/static/favicon.ico

8
dockers/apikaz/source/app.py

@ -23,6 +23,14 @@ def get_list_orgas_paheko():
#*************************************************
@app.route("/favicon.ico")
def fav():
print(os.path.join(app.root_path, 'static'))
return send_from_directory(app.static_folder, 'favicon.ico')
#*************************************************
if __name__ == '__main__':
#define the localhost ip and the port that is going to be used
# in some future article, we are going to use an env variable instead a hardcoded port

1
dockers/apikaz/source/index.html

@ -0,0 +1 @@
<!-- silence is golden -->

0
dockers/apikaz/source/favicon.ico → dockers/apikaz/source/static/favicon.ico

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Loading…
Cancel
Save