diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 49cf7c7..93715bc 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1931 \ No newline at end of file +1935 \ No newline at end of file diff --git a/FLocal.IISHandler/MainHandler.cs b/FLocal.IISHandler/MainHandler.cs index fa69dc1..3b4989a 100644 --- a/FLocal.IISHandler/MainHandler.cs +++ b/FLocal.IISHandler/MainHandler.cs @@ -15,6 +15,8 @@ namespace FLocal.IISHandler { private void doProcessRequest(HttpContext httpcontext) { + Initializer.instance.Initialize(); + Uri current = httpcontext.Request.Url; if(!current.Host.EndsWith(Config.instance.BaseHost)) { throw new Web.Core.FLocalException("Wrong host: " + current.Host + " (expected *" + Config.instance.BaseHost + ")");