ownsrc fixes
[hippotat] / hippotatd
index 24aca7c..e9b62b7 100755 (executable)
--- a/hippotatd
+++ b/hippotatd
@@ -264,8 +264,8 @@ def start_http():
   ssp.logger = partial(log_debug, DBG.OWNSOURCE)
   ssp.generate()
 
-  resource.putChild(b'source', twisted.web.static.File(ssp.output_paths[0]))
-  resource.putChild(b'srcpkgs', twisted.web.static.File(ssp.output_paths[0]))
+  resource.putChild(b'source',  twisted.web.static.File(ssp.output_paths[0]))
+  resource.putChild(b'srcpkgs', twisted.web.static.File(ssp.output_paths[1]))
 
   reactor.callLater(0.1, (lambda: log.info('hippotatd started', dflag=False)))