Skip to content

Commit 36e35e6

Browse files
committed
maint: remove unused setup_handlers func in websocket.py
1 parent c621fbf commit 36e35e6

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

jupyter_server_proxy/handlers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,3 @@ def setup_handlers(web_app, serverproxy_config):
869869
),
870870
],
871871
)
872-
873-
874-
# vim: set et ts=4 sw=4:

jupyter_server_proxy/websocket.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,3 @@ async def get(self, *args, **kwargs):
9797
return await self.http_get(*args, **kwargs)
9898
else:
9999
await ensure_async(super().get(*args, **kwargs))
100-
101-
102-
def setup_handlers(web_app):
103-
web_app.add_handlers('.*', [
104-
(url_path_join(web_app.settings['base_url'], r'/proxy/(\d+)(.*)'), LocalProxyHandler)
105-
])
106-
107-
# vim: set et ts=4 sw=4:

0 commit comments

Comments
 (0)