mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:58:13 +00:00

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.
8 lines
138 B
CMake
8 lines
138 B
CMake
set(SOURCES
|
|
Client.cpp
|
|
Configuration.cpp
|
|
main.cpp
|
|
)
|
|
|
|
serenity_bin(WebServer)
|
|
target_link_libraries(WebServer LibCore LibHTTP)
|