add simple filter.
This commit is contained in:
parent
09ef405bdb
commit
d187f1eee9
@ -129,9 +129,8 @@ Application::Application(const std::string &path)
|
|||||||
if (root.contains("url")) {
|
if (root.contains("url")) {
|
||||||
url = root["url"].as_string();
|
url = root["url"].as_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto database = Amass::Singleton<Database>::instance();
|
auto database = Amass::Singleton<Database>::instance();
|
||||||
if (std::filesystem::exists("amass_blog" + url)) {
|
if (std::filesystem::exists("amass_blog" + url) && url.find("/我的博客/page") != 0) {
|
||||||
std::string visitorUuid;
|
std::string visitorUuid;
|
||||||
if (root.contains("visitor_uuid")) {
|
if (root.contains("visitor_uuid")) {
|
||||||
visitorUuid = root["visitor_uuid"].as_string();
|
visitorUuid = root["visitor_uuid"].as_string();
|
||||||
|
Loading…
Reference in New Issue
Block a user