1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix lensFetch

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-01-12 09:17:21 -05:00
parent cfdd1750a4
commit 107f5e6f8c

View File

@ -22,7 +22,7 @@ const lensFetchInjectable = getInjectable({
return async (pathnameAndQuery, init = {}) => {
const agent = new Agent({
cert: lensProxyCertificate.get().cert,
ca: lensProxyCertificate.get().cert,
});
return fetch(`https://127.0.0.1:${lensProxyPort.get()}${pathnameAndQuery}`, {