]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - org.argeo.cms/src/org/argeo/cms/internal/http/NodeHttp.java
Changes indexes base
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / http / NodeHttp.java
index f67c342ec06fe733cbfc25efedbbde0136d04189..901731aa063eb2c113d1376c33e85477a1413f4e 100644 (file)
@@ -93,7 +93,8 @@ public class NodeHttp implements KernelConstants {
                try {
                        httpService.unregister(webdavPath(alias));
                        httpService.unregister(remotingPath(alias));
-                       httpService.unregister(filesPath(alias));
+                       if (NodeConstants.HOME.equals(alias))
+                               httpService.unregister(filesPath(alias));
                        if (log.isDebugEnabled())
                                log.debug("Unregistered servlets for repository '" + alias + "'");
                } catch (Exception e) {
@@ -153,7 +154,7 @@ public class NodeHttp implements KernelConstants {
        }
 
        private String filesPath(String alias) {
-               return NodeConstants.PATH_FILES + "/" + alias;
+               return NodeConstants.PATH_FILES;
        }
 
        // private Subject subjectFromRequest(HttpServletRequest request,