fix issue for site folders
This commit is contained in:
parent
f546a68f7c
commit
6b0f5ed12d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user