Dashie der otter 1 month ago
parent
commit
7ae9f6b2b4
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app.py

+ 1
- 1
app.py View File

@@ -230,7 +230,7 @@ def create_app(config_filename="config.py", app_name=None, register_blueprints=T
230 230
             resp = Response("")
231 231
             resp.headers["Content-Disposition"] = f"attachment; filename={stuff}"
232 232
             resp.headers["X-Accel-Redirect"] = f"/_protected/media/{thing}/{stuff}"
233
-            resp.headers['Content-Type'] = ''  # empty it so Nginx will guess it correctly
233
+            resp.headers["Content-Type"] = ""  # empty it so Nginx will guess it correctly
234 234
             return resp
235 235
 
236 236
     @app.errorhandler(404)

Loading…
Cancel
Save