modifié: superTornado.py
This commit is contained in:
parent
589f65d4bb
commit
17d4b31312
@ -37,7 +37,7 @@ class BaseHandler(tornado.web.RequestHandler):
|
|||||||
|
|
||||||
class MainHandler(BaseHandler):
|
class MainHandler(BaseHandler):
|
||||||
def get(self):
|
def get(self):
|
||||||
urlSocket = 'ws://'+socket.getaddrinfo(socket.gethostname(), None)':'+portCamera+'/socket'
|
urlSocket = 'ws://'+socket.getaddrinfo(socket.gethostname(), None)+':'+portCamera+'/socket'
|
||||||
self.render("v/index.html", url=urlSocket)
|
self.render("v/index.html", url=urlSocket)
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
|
Reference in New Issue
Block a user