kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Partially revert 47e5a7cf09
(#138)
Copy HTTP headers from the global template instead of updating the global template when fetching a site. fixes #137pull/145/head
rodzic
50026ee6d9
commit
b008269a70
|
@ -63,7 +63,7 @@ class perform_site_check():
|
|||
extra_headers = self.datastore.get_val(uuid, 'headers')
|
||||
|
||||
# Tweak the base config with the per-watch ones
|
||||
request_headers = self.datastore.data['settings']['headers']
|
||||
request_headers = self.datastore.data['settings']['headers'].copy()
|
||||
request_headers.update(extra_headers)
|
||||
|
||||
# https://github.com/psf/requests/issues/4525
|
||||
|
|
Ładowanie…
Reference in New Issue