aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-07-07 19:45:45 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-07-07 19:45:45 +0200
commit0e4ee2ed1c64130262e42ddfc87f2d8944c5a10c (patch)
tree45b852937529d19101dee06c82c924c57c3a47aa /lib/configuration
parentAdd web/urlfilter (diff)
downloadsmolbote-0e4ee2ed1c64130262e42ddfc87f2d8944c5a10c.tar.xz
Integrate urlfilter with urlrequestinterceptor
Diffstat (limited to 'lib/configuration')
-rw-r--r--lib/configuration/configuration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp
index 70be7b1..d31b4f2 100644
--- a/lib/configuration/configuration.cpp
+++ b/lib/configuration/configuration.cpp
@@ -96,6 +96,7 @@ Configuration::Configuration(QObject *parent)
// Filter settings
("filter.path", po::value<std::string>()->default_value(filter_path))
+ ("filter.json-path", po::value<std::string>()->default_value("~/.config/smolbote/filter.json"))
("filter.header", po::value<std::vector<std::string>>())
// ("filter.cookies.block.all", po::value<bool>()->default_value(false))
// ("filter.cookies.block.thirdParty", po::value<bool>()->default_value(true))