mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-02 21:48:44 +05:00
1 parent
1bb9b61017
commit
43fd095714
8 files changed
+106
-86
No files matched your search
@@ -808,7 +808,11 @@
|
||||
};
|
||||
|
||||
try {
|
||||
const response = await fetch('/api/settings', { cache: 'no-cache' });
|
||||
const response = await fetch("/api/settings", {
|
||||
cache: "no-cache",
|
||||
credentials: "include"
|
||||
});
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error('Response not valid');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user