diff options
Diffstat (limited to 'flask2.patch')
-rw-r--r-- | flask2.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/flask2.patch b/flask2.patch new file mode 100644 index 000000000000..ac54193aa4df --- /dev/null +++ b/flask2.patch @@ -0,0 +1,20 @@ +--- changedetection.io-0.39.4/changedetectionio/__init__.py 2021-12-02 21:54:38.000000000 +0000 ++++ changedetectionio/__init__.py 2021-12-05 21:35:58.148679910 +0000 +@@ -679,7 +679,7 @@ + + @app.route("/favicon.ico", methods=['GET']) + def favicon(): +- return send_from_directory("/app/static/images", filename="favicon.ico") ++ return send_from_directory("static/images", path="favicon.ico") + + # We're good but backups are even better! + @app.route("/backup", methods=['GET']) +@@ -741,7 +741,7 @@ + def static_content(group, filename): + # These files should be in our subdirectory + try: +- return send_from_directory("static/{}".format(group), filename=filename) ++ return send_from_directory("static/{}".format(group), path=filename) + except FileNotFoundError: + abort(404) + |