summaryrefslogtreecommitdiffhomepage
path: root/webserver.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
commit2be63668af1cadf846ae2d44a0fd5c909ceaf47e (patch)
treeaf80bc23d9b1dde815a3cf44285c6719490d282a /webserver.cpp
parent12972923e74e3dd174f3ce3e59c2db5ca9b400eb (diff)
Add plugins
Diffstat (limited to 'webserver.cpp')
-rw-r--r--webserver.cpp3
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;
}
}
+