We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6560e commit de3c51dCopy full SHA for de3c51d
utils.js
@@ -2,10 +2,8 @@
2
3
// Helper to get server URL with fallback to legacy config name
4
export async function getArchiveBoxServerUrl() {
5
- const { archivebox_server_url, config_archiveBoxBaseUrl } = await chrome.storage.local.get([
6
- 'archivebox_server_url',
7
- 'config_archiveBoxBaseUrl'
8
- ]);
+ const { archivebox_server_url } = await chrome.storage.local.get(['archivebox_server_url']); // new ArchiveBox Extension v2.1.3 location
+ const {config_archiveBoxBaseUrl} = await chrome.storage.sync.get(['config_archiveBoxBaseUrl']); // old ArchiveBox Exporter v1.3.1 location
9
return archivebox_server_url || config_archiveBoxBaseUrl || '';
10
}
11
0 commit comments