mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
WebServer: Rename {real_}root_path to {real_}document_root_path
The concept of a "document root" seems to be a de-facto industry standard and doesn't make you wonder what kind of root path is meant.
This commit is contained in:
parent
4abafbbe3c
commit
bb91857885
4 changed files with 15 additions and 14 deletions
|
@ -125,7 +125,7 @@ ErrorOr<bool> Client::handle_request(ReadonlyBytes raw_request)
|
|||
dbgln_if(WEBSERVER_DEBUG, "Canonical requested path: '{}'", requested_path);
|
||||
|
||||
StringBuilder path_builder;
|
||||
path_builder.append(Configuration::the().root_path());
|
||||
path_builder.append(Configuration::the().document_root_path());
|
||||
path_builder.append(requested_path);
|
||||
auto real_path = path_builder.to_deprecated_string();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue