mik-laj commented on a change in pull request #17591:
URL: https://github.com/apache/airflow/pull/17591#discussion_r688148321



##########
File path: airflow/utils/serve_logs.py
##########
@@ -19,15 +19,16 @@
 import os
 import time
 
+import gunicorn.app.base
 from flask import Flask, abort, request, send_from_directory
 from itsdangerous import TimedJSONWebSignatureSerializer
 from setproctitle import setproctitle
 
 from airflow.configuration import conf
 
 
-def flask_app():
-    flask_app = Flask(__name__)
+def create_app():
+    flask_app = Flask(__name__, static_folder=None)

Review comment:
       We don't support this feature, so we can safely turn it off.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to