diff --git a/datalayer/handlers.py b/datalayer/handlers.py index b72c9f4..6227d4f 100644 --- a/datalayer/handlers.py +++ b/datalayer/handlers.py @@ -41,7 +41,7 @@ def get(self): "extension": "datalayer", "version": __version__, "settings": dict( - api_server_url=settings.api_server_url, + run_url=settings.run_url, launcher={ "category": settings.launcher.category, "name": settings.launcher.name, diff --git a/datalayer/serverapplication.py b/datalayer/serverapplication.py index 67aec0b..05ab69d 100644 --- a/datalayer/serverapplication.py +++ b/datalayer/serverapplication.py @@ -31,10 +31,10 @@ class DatalayerExtensionApp(ExtensionAppJinjaMixin, ExtensionApp): static_paths = [DEFAULT_STATIC_FILES_PATH] template_paths = [DEFAULT_TEMPLATE_FILES_PATH] - api_server_url = Unicode( + run_url = Unicode( "https://oss.datalayer.run", config=True, - help="""Hostname to connect to the Datalayer APIs.""", + help="""URL to connect to the Datalayer RUN APIs.""", ) white_label = Bool(False, config=True, help="""Display white label content.""") @@ -75,7 +75,7 @@ def _default_launcher(self): def initialize_settings(self): settings = dict( - api_server_url=self.api_server_url, + run_url=self.run_url, launcher={ "category": self.launcher.category, "name": self.launcher.name, diff --git a/datalayer/templates/index.html b/datalayer/templates/index.html index 4b589f8..6f6120a 100644 --- a/datalayer/templates/index.html +++ b/datalayer/templates/index.html @@ -5,9 +5,8 @@