|
@@ -151,7 +151,7 @@ def makeService(config): |
|
|
# This sets up the root to be the media dir so we don't have to |
|
|
# This sets up the root to be the media dir so we don't have to |
|
|
# enumerate the directory. |
|
|
# enumerate the directory. |
|
|
cds = ContentDirectoryServer(config['title'], klass=FSDirectory, |
|
|
cds = ContentDirectoryServer(config['title'], klass=FSDirectory, |
|
|
path=config['path'], urlbase=urlparse.urljoin(urlbase, 'content/'), |
|
|
|
|
|
|
|
|
path=config['path'], urlbase=urlparse.urljoin(urlbase, 'content'), |
|
|
webbase=content) |
|
|
webbase=content) |
|
|
debug.insertnamespace('cds', cds) |
|
|
debug.insertnamespace('cds', cds) |
|
|
root.putChild('ContentDirectory', cds) |
|
|
root.putChild('ContentDirectory', cds) |
|
|