Skip to content

Commit

Permalink
Undef redirections after set up (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmontesi committed Jul 30, 2018
1 parent 4490df1 commit 3ab031f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/leonardo/main.ol
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,12 @@ init
config.wwwDir = RootContentDirectory
};
if ( !Standalone ) {
config( config )();
setRedirections;
undef( config.redirection )
config( config )()
};

setRedirections;
undef( config.redirection );

loadHooks;
undef( config.PreResponseHook );
undef( config.PostResponseHook );
Expand Down

0 comments on commit 3ab031f

Please sign in to comment.