prevent stylesheet resources from being duplicated
This commit is contained in:
@ -491,6 +491,15 @@ namespace Oqtane.Shared
|
||||
return querystring;
|
||||
}
|
||||
|
||||
public static string GetUrlPath(string url)
|
||||
{
|
||||
if (url.Contains("?"))
|
||||
{
|
||||
url = url.Substring(0, url.IndexOf("?"));
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
||||
public static string LogMessage(object @class, string message)
|
||||
{
|
||||
return $"[{@class.GetType()}] {message}";
|
||||
|
Reference in New Issue
Block a user