summaryrefslogtreecommitdiff
path: root/webapp.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-09-04 10:15:59 +0200
committerHelmut Grohne <helmut@subdivi.de>2013-09-04 10:15:59 +0200
commit49cac8bdae0ec787372d227545411ef14905d6a8 (patch)
treeb685b09f13e27e939068c846a657e9d18e28f9b4 /webapp.py
parent022985f098a206c3b7852fe08a798cd31623f10d (diff)
downloaddebian-dedup-49cac8bdae0ec787372d227545411ef14905d6a8.tar.gz
webapp: serve static files from /static
Diffstat (limited to 'webapp.py')
-rwxr-xr-xwebapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp.py b/webapp.py
index 632b485..d5f076e 100755
--- a/webapp.py
+++ b/webapp.py
@@ -244,7 +244,7 @@ def main():
help="path to the sqlite3 database file")
options, args = parser.parse_args()
app = Application(sqlite3.connect(options.database))
- app = SharedDataMiddleware(app, {"/": ("dedup", "static")})
+ app = SharedDataMiddleware(app, {"/static": ("dedup", "static")})
make_server("0.0.0.0", 8800, app).serve_forever()
if __name__ == "__main__":