mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2025-12-13 09:45:56 +00:00
add type annotation
This commit is contained in:
@@ -473,7 +473,7 @@ export class ObsidianLiveSyncSettingTab extends PluginSettingTab {
|
||||
.reduce((obj, [key, val]) => {
|
||||
obj[key] = val;
|
||||
return obj;
|
||||
}, {});
|
||||
}, {} as { [key: string]: string });
|
||||
addResult(`Origin check:${org}`);
|
||||
if (responseHeaders["access-control-allow-credentials"] != "true") {
|
||||
addResult("❗ CORS is not allowing credential");
|
||||
|
||||
Reference in New Issue
Block a user