do as thedoc says...
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 13 Jan 2006 16:56:24 +0000 (16:56 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 13 Jan 2006 16:56:24 +0000 (16:56 +0000)
lib/python/Plugins/web/plugin.py

index bdcbd0586f107fb5958adba434ec400ea99285c4..b450b8cda656bcd900f5d51619451c71150a7474 100644 (file)
@@ -5,11 +5,10 @@ from twisted.web2 import server, http, static
 
 def autostart():
        print "Web startup"
 
 def autostart():
        print "Web startup"
-       # For example, serve the /tmp directory
-       toplevel = static.File("/tmp")
+       toplevel = static.File("/hdd")
        site = server.Site(toplevel)
        
        site = server.Site(toplevel)
        
-       reactor.listenTCP(8080, http.HTTPFactory(site))
+       reactor.listenTCP(80, http.HTTPFactory(site))
 
 def autoend():
        pass
 
 def autoend():
        pass