fix issue for site folders

This commit is contained in:
sbwalker 2023-07-12 19:49:38 -04:00
parent f546a68f7c
commit 6b0f5ed12d

View File

@ -201,7 +201,7 @@ namespace Oqtane.Services
private bool CheckResponse(HttpResponseMessage response, string uri) 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"); Console.WriteLine($"Request: {uri} Not Mapped To A Controller Method");
return false; return false;