Merge pull request #3015 from sbwalker/dev

fix issue for site folders
This commit is contained in:
Shaun Walker
2023-07-12 19:49:56 -04:00
committed by GitHub

View File

@ -201,7 +201,7 @@ namespace Oqtane.Services
private bool CheckResponse(HttpResponseMessage response, string uri)
{
if (!response.RequestMessage.RequestUri.AbsolutePath.StartsWith("/api/"))
if (!response.RequestMessage.RequestUri.AbsolutePath.Contains("/api/"))
{
Console.WriteLine($"Request: {uri} Not Mapped To A Controller Method");
return false;