diff options
Diffstat (limited to 'web/src/handlers.hpp')
| -rw-r--r-- | web/src/handlers.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/src/handlers.hpp b/web/src/handlers.hpp index d150e6d..5321a46 100644 --- a/web/src/handlers.hpp +++ b/web/src/handlers.hpp @@ -1,7 +1,11 @@ #pragma once +#include <optional> + +#include "config.hpp" #include "crow/http_response.h" namespace botweb { - crow::response get_wiki_page(const std::string &path); + crow::response get_wiki_page(const std::string &path, + const std::optional<Configuration> &cfg); } |
