Skip to content

Commit

Permalink
Update script source path in _Host.cshtml (elsa-workflows#4910)
Browse files Browse the repository at this point in the history
The script source paths in both "Elsa.Studio.Web" and "Elsa.ServerAndStudio.Web" _Host.cshtml files have been modified to use the defined base path. This change is necessary for correctly loading the "blazor.webassembly.js" script from the appropriate directory.
  • Loading branch information
sfmskywalker authored Feb 8, 2024
1 parent ae3664a commit cfb6fa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bundles/Elsa.ServerAndStudio.Web/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"basePath": "@basePath"
} };
</script>
<script src="_framework/blazor.webassembly.js"></script>
<script src="@basePath/_framework/blazor.webassembly.js"></script>
</body>

</html>
2 changes: 1 addition & 1 deletion src/bundles/Elsa.Studio.Web/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"basePath": "@basePath"
} };
</script>
<script src="_framework/blazor.webassembly.js"></script>
<script src="@basePath/_framework/blazor.webassembly.js"></script>
</body>

</html>

0 comments on commit cfb6fa5

Please sign in to comment.