add simple filter.
Some checks failed
Deploy / PullDocker (push) Successful in 4s
Deploy / Build (push) Failing after 13s

This commit is contained in:
amass 2024-08-19 23:17:33 +08:00
parent 09ef405bdb
commit d187f1eee9

View File

@ -129,9 +129,8 @@ Application::Application(const std::string &path)
if (root.contains("url")) {
url = root["url"].as_string();
}
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;
if (root.contains("visitor_uuid")) {
visitorUuid = root["visitor_uuid"].as_string();