diff --git a/src/dashboards/ElsaDashboard/Pages/_Host.cshtml b/src/dashboards/ElsaDashboard/Pages/_Host.cshtml index 16a970444..70ebfc946 100644 --- a/src/dashboards/ElsaDashboard/Pages/_Host.cshtml +++ b/src/dashboards/ElsaDashboard/Pages/_Host.cshtml @@ -2,6 +2,7 @@ @inject IConfiguration Configuration; @{ var serverUrl = Configuration["Elsa:Server:BaseAddress"]; + var basePath = Configuration["Hosting:BasePath"]; } @@ -9,15 +10,15 @@ Elsa Workflows - - - - - - + + + + + + - + diff --git a/src/dashboards/ElsaDashboard/appsettings.json b/src/dashboards/ElsaDashboard/appsettings.json index 554be01d8..d56e85dfc 100644 --- a/src/dashboards/ElsaDashboard/appsettings.json +++ b/src/dashboards/ElsaDashboard/appsettings.json @@ -7,6 +7,9 @@ } }, "AllowedHosts": "*", + "Hosting": { + "BasePath": "" + }, "Elsa": { "Server": { "BaseAddress": "https://localhost:11000" diff --git a/src/designer/elsa-workflows-studio/src/index.html b/src/designer/elsa-workflows-studio/src/index.html index 2d3cc97f6..b62b86856 100644 --- a/src/designer/elsa-workflows-studio/src/index.html +++ b/src/designer/elsa-workflows-studio/src/index.html @@ -212,7 +212,7 @@ // Get a handle to the elsa-studio-root element. const elsaStudioRoot = document.querySelector('elsa-studio-root'); - // Alternatively, configure Elsa during the 'initializing' event. + // Configure Elsa during the 'initializing' event. elsaStudioRoot.addEventListener('initializing', e => { const elsa = e.detail; elsa.pluginManager.registerPlugins([