This commit is contained in:
@@ -38,7 +38,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
[HttpGet]
|
||||
public async Task<ContentResult> Index()
|
||||
public ContentResult Index()
|
||||
{
|
||||
var errorBlock = string.Empty;
|
||||
if (serverState.IsSystemLocked)
|
||||
@@ -64,22 +64,25 @@ namespace AyaNova.Api.Controllers
|
||||
<a href=""/docs"" target=""_blank"">AyaNova manual</a><br/><br/>
|
||||
<a href=""/api-docs"" target=""_blank"">API explorer</a><br/><br/>
|
||||
<a href=""mailto:support@ayanova.com"">Email AyaNova support</a><br/><br/>
|
||||
<h4>{await TranslationBiz.GetDefaultTranslationAsync("HelpLicense")}</h4>
|
||||
<pre>{AyaNova.Core.License.LicenseInfo}</pre>
|
||||
<h4>Schema version</h4>
|
||||
<pre>{AySchema.currentSchema.ToString()}</pre>
|
||||
<h4>Active techs</h4>
|
||||
<pre>{await UserBiz.ActiveCountAsync()}</pre>
|
||||
<h4>Server time</h4>
|
||||
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
|
||||
<pre>{TimeZoneInfo.Local.Id}</pre>
|
||||
<h4>Server logs</h4>
|
||||
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
/*
|
||||
<h4>{await TranslationBiz.GetDefaultTranslationAsync("HelpLicense")}</h4>
|
||||
<pre>{AyaNova.Core.License.LicenseInfo}</pre>
|
||||
<h4>Schema version</h4>
|
||||
<pre>{AySchema.currentSchema.ToString()}</pre>
|
||||
<h4>Active techs</h4>
|
||||
<pre>{await UserBiz.ActiveCountAsync()}</pre>
|
||||
<h4>Server time</h4>
|
||||
<pre>{DateUtil.ServerDateTimeString(System.DateTime.UtcNow)}</pre>
|
||||
<pre>{TimeZoneInfo.Local.Id}</pre>
|
||||
<h4>Server logs</h4>
|
||||
<pre>{ServerBootConfig.AYANOVA_LOG_PATH}</pre>
|
||||
*/
|
||||
|
||||
return new ContentResult
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user