summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-10-23 11:49:06 -0700
committerJames Feist <james.feist@linux.intel.com>2019-12-18 23:45:31 +0000
commitb28eb8ed4a1d5f05aa9911e94e53f261add4bb65 (patch)
tree7c9d7924bf618cf0013f25a1bfeb4ff81361a15a
parentaede01cdec31ae90de1af81e26def4e9419b80e3 (diff)
downloadbmcweb-b28eb8ed4a1d5f05aa9911e94e53f261add4bb65.tar.gz
bmcweb-b28eb8ed4a1d5f05aa9911e94e53f261add4bb65.zip
Implement a TODO(ed) in comment
I now understand the router properly (as I did a while back). This call is correct, as "/" and "" are considered the same by the router. Tested: Comment change, no impact to code. Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: Ic6fc17f0e7137bbc3674c2290d10dcdba9b4ed18
-rw-r--r--http/app.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/http/app.h b/http/app.h
index 74fc5c6..1e5f985 100644
--- a/http/app.h
+++ b/http/app.h
@@ -140,7 +140,6 @@ template <typename... Middlewares> class Crow
std::vector<const std::string*> getRoutes()
{
- // TODO(ed) Should this be /?
const std::string root("");
return router.getRoutes(root);
}
OpenPOWER on IntegriCloud