Skip to content
Snippets Groups Projects
Commit 171e9a36 authored by srosse's avatar srosse
Browse files

OO-5314: let dmz as old /dmz/ default

parent 8ac2cacf
No related branches found
No related tags found
No related merge requests found
...@@ -278,9 +278,6 @@ public class DispatcherModule { ...@@ -278,9 +278,6 @@ public class DispatcherModule {
*/ */
public void setDispatchers(Map<String, Dispatcher> dispatchers) { public void setDispatchers(Map<String, Dispatcher> dispatchers) {
this.dispatchers = dispatchers; this.dispatchers = dispatchers;
Dispatcher dispatcher = dispatchers.get("/dmz/");
dispatchers.put(pathDefault, dispatcher);
} }
public static String getPathDefault() { public static String getPathDefault() {
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
<entry key="/dmz/"> <entry key="/dmz/">
<ref bean="dmzbean" /> <ref bean="dmzbean" />
</entry> </entry>
<entry key="/${server.login.path}/">
<ref bean="dmzbean" />
</entry>
<entry key="/robots.txt"> <entry key="/robots.txt">
<ref bean="robotsdispatcher" /> <ref bean="robotsdispatcher" />
</entry> </entry>
......
...@@ -660,7 +660,7 @@ server.domainname=localhost ...@@ -660,7 +660,7 @@ server.domainname=localhost
server.port=8080 server.port=8080
# the default path to login screen (without /) # the default path to login screen (without /)
server.login.path=log server.login.path=dmz
######################################################################## ########################################################################
# MathJAX CDN # MathJAX CDN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment