force control panel to interactive render mode

This commit is contained in:
sbwalker
2024-02-14 11:05:49 -05:00
parent 88bf569752
commit 3db744269e
5 changed files with 627 additions and 602 deletions

View File

@ -1,3 +1,6 @@
using System.Net;
using System.Xml.Linq;
using System;
using Oqtane.Models;
namespace Oqtane.Shared
@ -26,5 +29,14 @@ namespace Oqtane.Shared
Properties.HeadContent += content;
}
}
public void Clone(SiteState siteState)
{
Alias = siteState.Alias;
AntiForgeryToken = siteState.AntiForgeryToken;
AuthorizationToken = siteState.AuthorizationToken;
RemoteIPAddress = siteState.RemoteIPAddress;
IsPrerendering = siteState.IsPrerendering;
}
}
}