Fixed a critical mistype

main
Inga 🏳‍🌈 13 years ago
parent 546926900c
commit 5946a121e2
  1. 2
      Builder/IISMainHandler/build.txt
  2. 2
      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 + ")");

Loading…
Cancel
Save