# HG changeset patch # User Jeff Hammel # Date 1330472326 28800 # Node ID 77357c5c33c283f771724473698b2d35bcd49f45 # Parent d3efc504c0b190b0869c6fb640c02d40799dfe6e commit to a namespace diff -r d3efc504c0b1 -r 77357c5c33c2 simpypi/factory.py --- a/simpypi/factory.py Tue Feb 28 15:17:23 2012 -0800 +++ b/simpypi/factory.py Tue Feb 28 15:38:46 2012 -0800 @@ -39,8 +39,7 @@ """create a webob view and wrap it in middleware""" directory = app_conf['directory'] app = Dispatcher(**app_conf) - # TODO: something about serving simple_index, etc - return PassthroughFileserver(app, resource_filename(__name__, 'static')) + return PassthroughFileserver(app, directory, '/index') if __name__ == '__main__': import shutil