diff --git a/config/example.toml b/config/example.toml new file mode 100644 index 0000000..779f903 --- /dev/null +++ b/config/example.toml @@ -0,0 +1,9 @@ +[[server]] + name = "jopaserver" + port = 8080 + host = "127.0.0.1" + error_page = "error.html" + body_size_limit = 10 + [[location]] + location = "/" + root = "/var/www/html/jopa.html" diff --git a/src/config/parse.cpp b/src/config/parse.cpp new file mode 100644 index 0000000..39a8abe --- /dev/null +++ b/src/config/parse.cpp @@ -0,0 +1,9 @@ +#include "webserv.hpp" +#include + +namespace config +{ + void parse( +} + +