changeset 407:8e93934dc587

Route static url directly
author David Soria Parra <davidsp@fb.com>
date Tue, 11 Mar 2014 15:38:40 -0700
parents c5efd57859d6
children 595c6707635f
files hgwebsite.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgwebsite.py	Tue Mar 11 15:29:20 2014 -0700
+++ b/hgwebsite.py	Tue Mar 11 15:38:40 2014 -0700
@@ -6,7 +6,7 @@
 import os
 import flask
 
-app = flask.Flask(__name__)
+app = flask.Flask(__name__, static_url_path='')
 
 
 @app.route('/')