mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-12-10 03:34:17 +03:00
Fix
This commit is contained in:
parent
6b320fd772
commit
24ae412b64
|
|
@ -6,7 +6,11 @@ export function getReport(
|
|||
tabId: string | number,
|
||||
instanceId: number,
|
||||
) {
|
||||
chrome.storage.local.get(['s:hostname', 's:port', 's:secure'], (options) => {
|
||||
chrome.storage.local.get<{
|
||||
's:hostname': string | undefined;
|
||||
's:port': string | undefined;
|
||||
's:secure': string | undefined;
|
||||
}>(['s:hostname', 's:port', 's:secure'], (options) => {
|
||||
if (!options['s:hostname'] || !options['s:port']) return;
|
||||
const url = `${options['s:secure'] ? 'https' : 'http'}://${
|
||||
options['s:hostname']
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user