From 24de3e574b3a14e997484e356e1e18b87b35cc3a Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 13 Jan 2006 16:56:24 +0000 Subject: [PATCH] do as thedoc says... --- lib/python/Plugins/web/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/python/Plugins/web/plugin.py b/lib/python/Plugins/web/plugin.py index bdcbd058..b450b8cd 100644 --- a/lib/python/Plugins/web/plugin.py +++ b/lib/python/Plugins/web/plugin.py @@ -5,11 +5,10 @@ from twisted.web2 import server, http, static def autostart(): print "Web startup" - # For example, serve the /tmp directory - toplevel = static.File("/tmp") + toplevel = static.File("/hdd") site = server.Site(toplevel) - reactor.listenTCP(8080, http.HTTPFactory(site)) + reactor.listenTCP(80, http.HTTPFactory(site)) def autoend(): pass -- 2.30.2