aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/__init__.py b/app/views/__init__.py
index 37474de..a296e5d 100644
--- a/app/views/__init__.py
+++ b/app/views/__init__.py
@@ -31,11 +31,6 @@ cache = SimpleCache()
def domain(url):
return urlparse(url).netloc
-# Use nginx to serve files on production instead
-@app.route("/static/<path:path>")
-def send_static(path):
- return send_from_directory("public/static", path)
-
@app.route("/uploads/<path:path>")
def send_upload(path):
return send_from_directory("public/uploads", path)