summaryrefslogtreecommitdiffhomepage
path: root/http.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 20:09:04 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 20:09:04 +0200
commitcbfc28a946ded64e9402e1e6d32511150339ec72 (patch)
treebec1e30fdd97e99e88a7b168f3cad7278b59157e /http.cpp
parent1fcaed7a34cce8e55bb071d503bb583f715e7d37 (diff)
Prepare DocRoot(), WIP
Diffstat (limited to 'http.cpp')
-rw-r--r--http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.cpp b/http.cpp
index aea4e07..eb4dc8c 100644
--- a/http.cpp
+++ b/http.cpp
@@ -153,7 +153,7 @@ handle_request(
// Build the path to the requested file
std::string path = path_cat(doc_root, req.target());
- std::cout << "DEBUG: " << req["host"] << std::endl;
+ std::cout << "DEBUG: " << req["host"] << "|" << req.target() << std::endl;
if(req.target().back() == '/')
path.append("index.html");