Commit 52850dec by lichenggang

port

parent 7ab7cd7a
Showing with 4 additions and 2 deletions
...@@ -78,7 +78,8 @@ def gen_app(): ...@@ -78,7 +78,8 @@ def gen_app():
if __name__ == '__main__': if __name__ == '__main__':
register_tornado_handlers = {'/seocheck': SeoCheckHandler} register_tornado_handlers = {'/seocheck': SeoCheckHandler}
port = 12588
app = gen_app() app = gen_app()
app.listen(9421) print(f'seochecker监听端口:{port}')
app.listen(port)
tornado.ioloop.IOLoop.current().start() tornado.ioloop.IOLoop.current().start()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment