Azure / Azure/static-web-apps-cli

Support proxy server configuration

Aperta
#522 7 commenti 0 reazioni 1 assegnatario Rivendicata da @ReichPhilipp Vedi su GitHub
command: deploy good first issue type: enhancement
Lingua principale
TypeScript
Stelle
668
Fork
156
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.