elsa-workflows / elsa-workflows/elsa-core

Hosting Elsa 3.0 ElsaStudioBlazerWasm on IIS - 404 for login page

Open
#4,629 3 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

### Discussed in https://github.com/elsa-workflows/elsa-core/discussions/4628

Originally posted by **priyankamohile** November 16, 2023
Hi,

We've integrated Elsa 3.0 Server + Elsa 3.0 ElsaStudioBlazerWasm to create a few workflows. So far, everything runs okay with the dashboard and server apps running on localhost on their respective ports.
We now wish to host both of these apps in IIS. We've achieved success with the Server app, however, the dashboard app throws the below exception -

Failed to load resource: the server responded with a status of 404 () for the below URL

https://mywebsite/elsadashboard/login

We've changed the base URL on the index.html to the following, which helped to load all of the js scripts on the client side -

base href="/elsadashboard"

However, our app is still breaking while trying to redirect to the login page. Is there any other change we'd need to make? Does anyone have a set of steps they followed, to host this successfully?

Any help would be much appreciated! :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.