syslog added
This commit is contained in:
1 parent
5fbd56ef7a
commit
69f4c2e1ea
12 files changed
+225
-107
No files matched your search
@@ -6,6 +6,7 @@
|
||||
#include "settings/dns/dns.hpp"
|
||||
#include "settings/ftp/ftp.hpp"
|
||||
#include "reboot/reboot.hpp"
|
||||
#include "syslog/syslog.hpp"
|
||||
|
||||
#define CORS_ENABLE
|
||||
#include "security/cors.hpp"
|
||||
@@ -37,6 +38,8 @@ int main() {
|
||||
|
||||
srv.Post("/api/reboot", reboot);
|
||||
|
||||
srv.Get("/api/syslog", syslog);
|
||||
|
||||
srv.Options("/(.*)", set_cors_headers);
|
||||
|
||||
srv.set_mount_point("/" , "../src/web");
|
||||
|
||||
Reference in new issue
Block a user