security2

This commit is contained in:
Paweł Sadowski 2025-04-24 13:38:20 +00:00
parent b8b26f4d06
commit 7b88e8071d
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ if __name__ == "__main__":
print(f'- {sys.argv[0]} benchmark1/*') print(f'- {sys.argv[0]} benchmark1/*')
exit() exit()
apps = {'/': Application(FunctionHandler(lambda doc: make_doc(doc, files)))} apps = {'/': Application(FunctionHandler(lambda doc: make_doc(doc, files)))}
server = Server(apps, port=5000) server = Server(apps, address='127.0.0.1', port=5000, )
print('Visualizer started. navigate to http://localhost:5000/ to continue') print('Visualizer started. navigate to http://localhost:5000/ to continue')
print('Exit with interrupt (Ctrl+C)') print('Exit with interrupt (Ctrl+C)')
server.run_until_shutdown() server.run_until_shutdown()