core: use fingerprints instead of ips for db
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "headers/xforwardfor.hpp"
|
||||
#include "headers/cfHeader.hpp"
|
||||
#include "headers/gitProtocolHeader.hpp"
|
||||
#include "headers/acceptLanguageHeader.hpp"
|
||||
|
||||
#include "debug/log.hpp"
|
||||
|
||||
@@ -74,6 +75,7 @@ int main(int argc, char** argv, char** envp) {
|
||||
Pistache::Http::Header::Registry::instance().registerHeader<CFConnectingIPHeader>();
|
||||
Pistache::Http::Header::Registry::instance().registerHeader<XForwardedForHeader>();
|
||||
Pistache::Http::Header::Registry::instance().registerHeader<GitProtocolHeader>();
|
||||
Pistache::Http::Header::Registry::instance().registerHeader<AcceptLanguageHeader>();
|
||||
|
||||
g_pDB = std::make_unique<CDatabase>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user