fix #5229 - move IServerStartup.Configure execution until later so that it is possible to register custom endpoints

This commit is contained in:
sbwalker
2025-04-28 12:34:48 -04:00
parent 4f16cd2d01
commit 53b837e763
2 changed files with 3 additions and 7 deletions

View File

@ -23,10 +23,6 @@ namespace Oqtane.Infrastructure
var config = context.RequestServices.GetService(typeof(IConfigManager)) as IConfigManager;
string path = context.Request.Path.ToString();
// note that in order to support Alias subfolders we used to ignore Blazor framework requests...
// but this does not work in static rendering as the web UI request originates from /_blazor
//if (config.IsInstalled() && !path.StartsWith("/_"))
if (config.IsInstalled())
{
// get alias (note that this also sets SiteState.Alias)