Redirect from root page to /Boards/

main
Inga 🏳‍🌈 14 years ago
parent a85905ec2e
commit 2d84092173
  1. 2
      Builder/IISMainHandler/build.txt
  2. 5
      IISMainHandler/HandlersFactory.cs

@ -13,7 +13,10 @@ namespace FLocal.IISHandler {
// return new handlers.WrongUrlHandler();
// throw new FLocalException("Malformed url");
// }
if(context.requestParts.Length < 1) return new handlers.RootHandler();
if(context.requestParts.Length < 1) {
//return new handlers.RootHandler();
throw new RedirectException("/Boards/");
}
#region legacy
if(context.httprequest.Path.ToLower().StartsWith("/user/upload/")) {

Loading…
Cancel
Save