summaryrefslogtreecommitdiff
path: root/libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch')
-rw-r--r--libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch b/libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch
index de515a452..9fcaef782 100644
--- a/libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch
+++ b/libre/iceweasel/9001-FSDG-always-sync-remote-settings-with-local-dump.patch
@@ -318,10 +318,12 @@ index ef91781ac6..8736951968 100644
const params = {
...filters,
_expected: expectedTimestamp ?? 0,
-@@ -166,6 +166,9 @@ var Utils = {
+@@ -273,7 +264,10 @@ var Utils = {
+ .map(([k, v]) => `${k}=${encodeURIComponent(v)}`)
.join("&");
}
- const response = await fetch(url);
+- const response = await Utils.fetch(url);
++ const response = await fetch(url);
+ const responseDate = new Date().toUTCString()
+ response.headers.set("Date", responseDate);
+ response.headers.set("Last-Modified", responseDate);