mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
WebServer: Move server configuration into WebServer::Configuration
This moves the configuration of the web server, which currently only consists of the root path, into a new class, Configuration. Since the configuration is global and not per client, it is accessed by a singleton getter. This change simplifies future extensions of the configurable parameters.
This commit is contained in:
parent
2d18d3f329
commit
e77ca79897
6 changed files with 65 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
set(SOURCES
|
||||
Client.cpp
|
||||
Configuration.cpp
|
||||
main.cpp
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue