Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit 2209e12

Browse files
committed
Fix static path
1 parent 86a01fd commit 2209e12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wsgi_static_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(self, app, static_root, static_dirs=None,
9090
self.app = app
9191
self.static_root = static_root.lstrip('/').rstrip('/')
9292
if static_dirs is None:
93-
static_dirs = [os.path.join(os.path.abspath('.'), 'templates')]
93+
static_dirs = [os.path.join(os.path.abspath('.'), 'static')]
9494
self.static_dirs = static_dirs
9595
self.charset = charset
9696
self.block_size = block_size

0 commit comments

Comments
 (0)