1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:27:42 +00:00

WebServer: Convert document_root_path from DeprecatedString to String

This commit is contained in:
Ben Wiederhake 2023-05-20 00:45:49 +02:00 committed by Andreas Kling
parent e795641d99
commit f0586d74d7
3 changed files with 5 additions and 5 deletions

View file

@ -68,7 +68,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
if (!username.is_empty() && !password.is_empty())
credentials = HTTP::HttpRequest::BasicAuthenticationCredentials { username, password };
WebServer::Configuration configuration(real_document_root_path.to_deprecated_string(), credentials);
WebServer::Configuration configuration(real_document_root_path, credentials);
Core::EventLoop loop;