diff --git a/components/centraldashboard/public/components/main-page.pug b/components/centraldashboard/public/components/main-page.pug index 930ae56a0c6..5d6e6419d0f 100644 --- a/components/centraldashboard/public/components/main-page.pug +++ b/components/centraldashboard/public/components/main-page.pug @@ -6,8 +6,8 @@ iron-ajax#envInfo(auto='[[_shouldFetchEnv]]', url='/api/workgroup/env-info', han on-response='_onEnvInfoResponse') iron-ajax(auto, url="[[getNotebookServersUrl]]", handle-as="json", loading="{{loading}}", on-response="_onNotebookServersResponse", on-error="_onNotebookServersError") -iron-ajax#CreateDefaultNotebook(method='POST', url='/jupyter/api/namespaces/[[namespace]]/notebooks/default', handle-as='json') -iron-ajax#CreateDefaultNotebook2(method='POST', url='/en/api/namespaces/[[namespace]]/notebooks/default', handle-as='json') +iron-ajax#CreateDefaultNotebook(method='POST', url='/jupyter/api/namespaces/[[namespace]]/createdefault', handle-as='json') +iron-ajax#CreateDefaultNotebook2(method='POST', url='/en/api/namespaces/[[namespace]]/createdefault', handle-as='json') aside#PageLoader(hidden='{{!pageLoading}}') app-drawer-layout.flex(narrow='{{narrowMode}}', force-narrow='[[or(thinView, hideSidebar)]]',