chiark / gitweb /
ownsrc fixes
[hippotat] / hippotatd
index 24aca7c41232dac2aee0cc487e499ba4c493afe1..e9b62b7442bdde0a854b9d0cdad18f20d09b96e3 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)))