1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:57:45 +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

@ -15,15 +15,15 @@ namespace WebServer {
class Configuration {
public:
Configuration(DeprecatedString document_root_path, Optional<HTTP::HttpRequest::BasicAuthenticationCredentials> credentials = {});
Configuration(String document_root_path, Optional<HTTP::HttpRequest::BasicAuthenticationCredentials> credentials = {});
DeprecatedString const& document_root_path() const { return m_document_root_path; }
String const& document_root_path() const { return m_document_root_path; }
Optional<HTTP::HttpRequest::BasicAuthenticationCredentials> const& credentials() const { return m_credentials; }
static Configuration const& the();
private:
DeprecatedString m_document_root_path;
String m_document_root_path;
Optional<HTTP::HttpRequest::BasicAuthenticationCredentials> m_credentials;
};