Skip to content

Commit

Permalink
Merge pull request jupyter-server#473 from jtpio/server-aliases
Browse files Browse the repository at this point in the history
Add Extension App Aliases to Server App
  • Loading branch information
blink1073 authored Apr 12, 2021
2 parents 582dbe2 + 5b80072 commit 599fc5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_server/extension/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ def initialize_server(cls, argv=[], load_other_extensions=True, **kwargs):
"""
serverapp = ServerApp.instance(
jpserver_extensions={cls.get_extension_package(): True}, **kwargs)
serverapp.aliases.update(cls.aliases)
serverapp.initialize(
argv=argv,
starter_extension=cls.name,
Expand Down

0 comments on commit 599fc5f

Please sign in to comment.