diff --git a/IISMainHandler/handlers/WrongUrlHandler.cs b/IISMainHandler/handlers/WrongUrlHandler.cs index 68eb997..9c59db5 100644 --- a/IISMainHandler/handlers/WrongUrlHandler.cs +++ b/IISMainHandler/handlers/WrongUrlHandler.cs @@ -16,7 +16,7 @@ namespace FLocal.IISHandler.handlers { } protected override IEnumerable getSpecificData(WebContext context) { - context.LogError(new WrongUrlException()); + if(!context.httprequest.Path.StartsWith("/static/")) context.LogError(new WrongUrlException()); return new XElement[] { new XElement("path", context.httprequest.Path) };