From feede6c8024147d0b2f12c18d7dca622a797645b Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sun, 19 May 2024 00:58:08 +0500 Subject: feat: config --- web/src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/src/main.cpp') diff --git a/web/src/main.cpp b/web/src/main.cpp index 06936c5..b63151c 100644 --- a/web/src/main.cpp +++ b/web/src/main.cpp @@ -1,8 +1,11 @@ +#include "config.hpp" #include "crow/app.h" #include "crow/mustache.h" #include "handlers.hpp" int main(int argc, char *argv[]) { + auto cfg = botweb::parse_configuration_from_file(".env"); + crow::SimpleApp app; CROW_ROUTE(app, "/") -- cgit v1.2.3