Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/148596

Change subject: Don't specifically handle /static
......................................................................

Don't specifically handle /static

Flask does this automatically now.

You step away for two years and things grow all sorts of magic
arms and other assorted appendages.

Change-Id: I354176230446d94a9c6b5694ecaf10857fe5899b
---
M quarry/web/app.py
1 file changed, 0 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/quarry/web 
refs/changes/96/148596/1

diff --git a/quarry/web/app.py b/quarry/web/app.py
index b4f5cea..2cbdf8b 100644
--- a/quarry/web/app.py
+++ b/quarry/web/app.py
@@ -1,5 +1,3 @@
-import os
-
 from flask import Flask, render_template, redirect, session, g
 from flask_mwoauth import MWOAuth
 from models import db
@@ -26,11 +24,6 @@
 @app.before_request
 def set_user():
     g.user = get_user()
-
-
[email protected]("/static/<path:path>")
-def static_proxy(path):
-    return app.send_static_file(os.path.join('static', path))
 
 
 @app.route("/")

-- 
To view, visit https://gerrit.wikimedia.org/r/148596
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I354176230446d94a9c6b5694ecaf10857fe5899b
Gerrit-PatchSet: 1
Gerrit-Project: analytics/quarry/web
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to