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 0a24b9f commit d3ddf7eCopy full SHA for d3ddf7e
packages/devtools-proxy-support/src/proxy-options.ts
@@ -287,8 +287,9 @@ export function mergeProxySecrets({
287
proxyOptions: Readonly<DevtoolsProxyOptions>;
288
secrets: DevtoolsProxyOptionsSecrets;
289
}): DevtoolsProxyOptions {
290
- const parsedSecrets: DevtoolsProxyOptionsSecretsInternal =
291
- JSON.parse(secrets);
+ const parsedSecrets: DevtoolsProxyOptionsSecretsInternal = JSON.parse(
+ secrets || '{}'
292
+ );
293
if (
294
(parsedSecrets.username || parsedSecrets.password) &&
295
proxyOptions.proxy
0 commit comments