mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
parent
cdf17efb9a
commit
56c5ffe398
25 changed files with 44 additions and 40 deletions
|
@ -68,7 +68,8 @@ 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, credentials);
|
||||
// FIXME: This should accept a ByteString for the path instead.
|
||||
WebServer::Configuration configuration(TRY(String::from_byte_string(real_document_root_path)), credentials);
|
||||
|
||||
Core::EventLoop loop;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue