summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorstuebinm2021-12-26 03:05:58 +0100
committerstuebinm2021-12-26 03:05:58 +0100
commit4c9e6efc70b069b279e0e009e4dd836015bbf4df (patch)
treefb9aecf1d3e7d80cd0e5a2bea71f4563704ec6dc /config.json
parent687e2369472a220293e89307493a21940ab8e4eb (diff)
separate blocking for separate contexts
(audio links now have their own allowlist, which won't put things through the dereferrer)
Diffstat (limited to 'config.json')
-rw-r--r--config.json18
1 files changed, 11 insertions, 7 deletions
diff --git a/config.json b/config.json
index 7912203..d2417eb 100644
--- a/config.json
+++ b/config.json
@@ -5,17 +5,21 @@
"AllowScripts":false,
"MaxLintLevel":"Warning",
"DontCopyAssets":false,
- "UriSchemas": {
- "https" : {
- "scope" : ["website", "audio"],
+ "UriSchemas": [
+ ["https", {
+ "scope" : ["website"],
"allowed" : ["media.ccc.de", "streaming.media.ccc.de", "static.rc3.world", "cdn.c3voc.de"],
"blocked" : ["blocked.com"],
"prefix" : "https:\/\/rc3.world\/2021\/dereferrer\/"
- },
- "world" : {
+ }],
+ ["https", {
+ "scope" : ["audio"],
+ "allowed" : ["cdn.c3voc.de", "media.ccc.de", "streaming.media.ccc.de", "static.rc3.world"]
+ }],
+ ["world", {
"scope" : ["map"],
"substs" : {
}
- }
- }
+ }]
+ ]
}