Fix an issue with directory permissions

directory includes need to manage both the routes, just just the one
ending in slash

Change-Id: I1ba0e9021b212e88861aa720bb5a9d7610b72a9c
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/include/webassets.hpp b/include/webassets.hpp
index fb5b66c..6384f3a 100644
--- a/include/webassets.hpp
+++ b/include/webassets.hpp
@@ -77,6 +77,8 @@
       if (boost::starts_with(webpath.filename().string(), "index.")) {
         webpath = webpath.parent_path();
         if (webpath.string().size() == 0 || webpath.string().back() != '/') {
+          // insert the non-directory version of this path
+          routes.insert(webpath);
           webpath += "/";
         }
       }