BinaryONe commited on
Commit
a71f97d
·
1 Parent(s): a6b025b
Files changed (1) hide show
  1. WebSSH/__main__.py +2 -2
WebSSH/__main__.py CHANGED
@@ -77,8 +77,8 @@ def make_app(loop):
77
  (r'/', IndexHandler, dict(loop=loop, policy=policy, host_keys_settings=host_keys_settings)),
78
  (r'/ws', WsockHandler, dict(loop=loop)),
79
  (r'/app', AppHandler), # Route for your new page
80
- (r"/commands", AppHandler, dict(method="run_commands")),
81
- (r"/get_key", AppHandler, dict(method="get_privatekey")),
82
  ],
83
  xsrf_cookies=options.xsrf,
84
  debug=options.debug,
 
77
  (r'/', IndexHandler, dict(loop=loop, policy=policy, host_keys_settings=host_keys_settings)),
78
  (r'/ws', WsockHandler, dict(loop=loop)),
79
  (r'/app', AppHandler), # Route for your new page
80
+ (r"/commands", AppHandler.run_commands),
81
+ (r"/get_key", AppHandler.get_privatekey),
82
  ],
83
  xsrf_cookies=options.xsrf,
84
  debug=options.debug,