Skip to content

Commit 224a67e

Browse files
committed
Fix server extension configuration handling
1 parent e220b43 commit 224a67e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

voila/server_extension.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,8 @@ def _load_jupyter_server_extension(server_app: ServerApp):
8787
web_app = server_app.web_app
8888
# common configuration options between the server extension and the application
8989

90-
voila_configuration = VoilaConfiguration(
91-
parent=server_app, config=load_config_file()
92-
)
90+
voila_configuration = VoilaConfiguration(parent=server_app)
91+
voila_configuration.config.merge(load_config_file())
9392

9493
template_name = voila_configuration.template
9594
template_paths = collect_template_paths(["voila", "nbconvert"], template_name)

0 commit comments

Comments
 (0)