Update staticdirect stuff so it can handle "domains" of staticdirection

This commit is contained in:
Christopher Allan Webber
2012-07-06 14:54:21 -05:00
parent 00eda826cb
commit 5377114c4d
3 changed files with 38 additions and 24 deletions

View File

@@ -107,8 +107,8 @@ def get_staticdirector(app_config):
"One of direct_remote_path or "
"direct_remote_paths must be provided")
return staticdirect.RemoteStaticDirect(
app_config['direct_remote_path'].strip())
return staticdirect.StaticDirect(
{None: app_config['direct_remote_path'].strip()})
def setup_storage():