Changeset - f4d822fe8861
[Not reviewed]
default
0 1 0
Drew Perttula - 8 years ago 2017-06-03 20:54:49
drewp@bigasterisk.com
subserver old code
Ignore-this: 105bd538f0096f4d0d5c1ced35b04f25
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/subserver
Show inline comments
 
@@ -75,15 +75,15 @@ if __name__ == "__main__":
 

	
 
    log.setLevel(logging.DEBUG if options.verbose else logging.INFO)
 

	
 
    graph = SyncedGraph(networking.rdfdb.url, "subServer")
 

	
 
    
 
    port = networking.subServer.port
 
    reactor.listenTCP(port, cyclone.web.Application(handlers=[
 
        (r'/snapshot', Snapshot),
 
        (r'/(.*)', Static,
 
         {"path" : "light9/subserver",
 
          "default_filename" : "index.jade"}),
 
        ], debug=True, graph=graph, onNewClient=onNewClient))
 
        ], debug=True, graph=graph))
 
    log.info("serving on %s" % port)
 
    reactor.run()
0 comments (0 inline, 0 general)