Azure / Azure/static-web-apps-cli

Support proxy server configuration

Offen
#522 7 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @ReichPhilipp Auf GitHub ansehen
command: deploy good first issue type: enhancement
Vorherrschende Sprache
TypeScript
Sterne
668
Forks
156
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi SWA-Team,

first! Great Tool! it works very well from my developer machine outside our company network.

Our CI/CD tool (jenkins) is part of the company network secured by a proxy server.

We are not able to fetch the `https://swalocaldeploy.azureedge.net/downloads/versions.json` file from the corporate network. (./src/core/deploy-client.ts:151)

**Describe the solution you'd like**
It would be great to have some proxy options to handle the outgoing requests. There is a nice package to add a proxy agent to `node-fetch`.

[https-proxy-agent](https://www.npmjs.com/package/https-proxy-agent)

Some cli parameters to setup the proxy configuration would be nice solution.

**Describe alternatives you've considered**

Does the docker-way do the trick? Does the docker image contain the `StaticSitesClient` and this step could skipped?

Thanks a lot for this great cli tool.

But for now, we cant use it

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.