diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-24 17:15:05 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-24 17:15:05 +0200 |
commit | 58da9654563d89039a58e4bf14a3b0e383fe93c8 (patch) | |
tree | afde44be6c0885cdfdd03ddd9ac74e6a02236473 /response.cpp | |
parent | 1b6682c78518228b705cab2afd5a9eb595a90bbd (diff) |
Fix impressum link
Diffstat (limited to 'response.cpp')
-rw-r--r-- | response.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/response.cpp b/response.cpp index 51c9603..7bbcebf 100644 --- a/response.cpp +++ b/response.cpp @@ -129,6 +129,8 @@ std::unordered_map<std::string, std::function<std::string(RequestContext&)>> Get {"method", [](RequestContext& req_ctx) { return std::string{req_ctx.GetReq().method_string()};}}, + {"plugin_path", [](RequestContext& req_ctx) { return std::string{req_ctx.GetPluginPath()};}}, + {"rel_target", [](RequestContext& req_ctx) {return req_ctx.GetRelativePath();}}, {"target", [](RequestContext& req_ctx) {return req_ctx.GetTarget();}}, |