From b41a71e862f546f7e51d02c26a3c163039e3b87e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 26 Nov 2018 17:47:58 +0000 Subject: [PATCH] --- server/AyaNova/Controllers/ApiRootController.cs | 6 +++--- server/AyaNova/Startup.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/AyaNova/Controllers/ApiRootController.cs b/server/AyaNova/Controllers/ApiRootController.cs index 2ed19b10..bc51b6bb 100644 --- a/server/AyaNova/Controllers/ApiRootController.cs +++ b/server/AyaNova/Controllers/ApiRootController.cs @@ -43,9 +43,9 @@ namespace AyaNova.Api.Controllers

{AyaNovaVersion.FullNameAndVersion}

- AyaNova Client

- Manual

- API explorer

+ AyaNova App

+ AyaNova manual

+ API explorer

Email AyaNova support

{LocaleBiz.GetDefaultLocalizedText("HelpLicense").Result}

{AyaNova.Core.License.LicenseInfo}
diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs index 440f99e5..a74c80e9 100644 --- a/server/AyaNova/Startup.cs +++ b/server/AyaNova/Startup.cs @@ -434,7 +434,7 @@ namespace AyaNova //to support html5 pushstate routing in spa //this ensures that a refresh at the client will not 404 but rather force back to the index.html app page and then handled internally by the client await next(); - if (context.Response.StatusCode == 404 && !Path.HasExtension(context.Request.Path.Value)) + if (context.Request.Path.Value!= "/docs" && context.Response.StatusCode == 404 && !Path.HasExtension(context.Request.Path.Value)) { context.Request.Path = "/index.html"; context.Response.StatusCode = 200;