diff options
author | bptato <nincsnevem662@gmail.com> | 2023-05-29 01:41:15 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-06-01 13:01:44 +0200 |
commit | 245a2067ef8204dd6a260e1bdc415981243f549b (patch) | |
tree | 46ca4b7618766df1a358fa33567a00739b9772be /src/buffer | |
parent | d48aa61fd8e3595a8ae90cfacc9f35318acbe8d4 (diff) | |
download | chawan-245a2067ef8204dd6a260e1bdc415981243f549b.tar.gz |
Fix more config inconsistencies
So that the default config actually works again. Also some doc updates.
Diffstat (limited to 'src/buffer')
-rw-r--r-- | src/buffer/container.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim index 118bb57d..7ee40f22 100644 --- a/src/buffer/container.nim +++ b/src/buffer/container.nim @@ -701,7 +701,7 @@ proc load(container: Container) = container.triggerEvent(SUCCESS) if res.cookies.len > 0 and container.config.cookiejar != nil: # accept cookies container.config.cookiejar.cookies.add(res.cookies) - if res.referrerpolicy.isSome and container.config.refererfrom: + if res.referrerpolicy.isSome and container.config.referer_from: container.config.referrerpolicy = res.referrerpolicy.get container.setLoadInfo("Connected to " & $container.source.location & ". Downloading...") if res.needsAuth: |