temporary hack to allow Static rendering to (sort of) work - this will need to be removed later
This commit is contained in:
@ -69,11 +69,13 @@
|
|||||||
SiteState.AuthorizationToken = AuthorizationToken;
|
SiteState.AuthorizationToken = AuthorizationToken;
|
||||||
SiteState.IsPrerendering = (HttpContext != null) ? true : false;
|
SiteState.IsPrerendering = (HttpContext != null) ? true : false;
|
||||||
|
|
||||||
_installation = await InstallationService.IsInstalled();
|
_installation = new Installation { Success = true };
|
||||||
if (_installation.Alias != null)
|
SiteState.Alias = new Alias { AliasId = 1, SiteId = 1, TenantId = 1, Name = "localhost:44357", IsDefault = true, BaseUrl = "", Protocol = "http://" };
|
||||||
{
|
// _installation = await InstallationService.IsInstalled();
|
||||||
SiteState.Alias = _installation.Alias;
|
// if (_installation.Alias != null)
|
||||||
}
|
// {
|
||||||
|
// SiteState.Alias = _installation.Alias;
|
||||||
|
// }
|
||||||
_initialized = true;
|
_initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user