Skip to content

Commit

Permalink
Merge pull request #952 from zhanba/master
Browse files Browse the repository at this point in the history
fix: handle CORS OPTIONS request
  • Loading branch information
krassowski authored Oct 8, 2023
2 parents 018b8f4 + ae82f11 commit cb86d0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python_packages/jupyter_lsp/jupyter_lsp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
from typing import Optional, Text

from jupyter_server.base.handlers import JupyterHandler
from jupyter_server.base.handlers import APIHandler
from jupyter_server.base.zmqhandlers import WebSocketHandler, WebSocketMixin
from jupyter_server.utils import url_path_join as ujoin

Expand All @@ -11,7 +11,7 @@
from .specs.utils import censored_spec


class BaseHandler(JupyterHandler):
class BaseHandler(APIHandler):
manager = None # type: LanguageServerManager

def initialize(self, manager: LanguageServerManager):
Expand Down

0 comments on commit cb86d0d

Please sign in to comment.