summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-15 20:01:25 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-15 20:01:25 +0200
commitf6e703a938a95c555b388f79966cf955c5d07dc6 (patch)
treef47eae93adf9f72b1472ced2a1a051e90845dafe /config.h
parent1ce0bb7ad50129fbab6c0a75f18eee6149ca1be3 (diff)
HTTP Auth (Basic)
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 746b95c..46cd267 100644
--- a/config.h
+++ b/config.h
@@ -13,6 +13,7 @@ struct Path
std::string requested; // the requested path
// mandatory entries: "plugin", "target", others are optional
std::unordered_map<std::string, std::string> params; // what to serve, e.g. which filesystem path (target), and which plugin
+ std::unordered_map<std::string, std::string> auth; // optional
};
struct Site