diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-04 11:32:54 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-04 11:32:54 +0200 |
commit | 2be63668af1cadf846ae2d44a0fd5c909ceaf47e (patch) | |
tree | af80bc23d9b1dde815a3cf44285c6719490d282a /webserver.cpp | |
parent | 12972923e74e3dd174f3ce3e59c2db5ca9b400eb (diff) |
Add plugins
Diffstat (limited to 'webserver.cpp')
-rw-r--r-- | webserver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webserver.cpp b/webserver.cpp index b079707..2574272 100644 --- a/webserver.cpp +++ b/webserver.cpp @@ -1,5 +1,6 @@ #include "config.h" #include "http.h" +#include "plugin.h" #include <exception> #include <iostream> @@ -32,9 +33,11 @@ int main(int argc, char* argv[]) try { Config config{config_filename}; + load_plugins(config); return http_server(argc, argv); } catch (const std::exception& ex) { std::cout << "Error: " << ex.what() << std::endl; return 1; } } + |