summaryrefslogtreecommitdiffhomepage
path: root/config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-05 12:03:52 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-05 12:03:52 +0200
commit918685c1c09de1e3cd14c41bb8cc8b89a177ccd2 (patch)
treef803517e6a34be0216f00249dd62525eadce0d05 /config.cpp
parentcbfc28a946ded64e9402e1e6d32511150339ec72 (diff)
Different certificates for different hosts
Diffstat (limited to 'config.cpp')
-rw-r--r--config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cpp b/config.cpp
index 4e33dfc..6050768 100644
--- a/config.cpp
+++ b/config.cpp
@@ -182,7 +182,7 @@ void Config::dump() const
std::cout << "=============================================" << std::endl;
}
-std::string Config::DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path)
+std::string Config::DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path) const
{
// TODO: speed this up
std::string host{requested_host};