Azure / Azure/static-web-apps-cli
Be able to point to a hosted APIM instance
- 主要言語
- TypeScript
- スター
- 668
- フォーク
- 156
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Is your feature request related to a problem? Please describe.**
I'm unable to use static web apps unless I can get it to proxy calls to APIM. I want to be able to point the apiDevserverUrl to an actual APIM instance. For example, I want https://localhost:4200/api/foobar to proxy all calls to https://developers-dev.domain.com/api/foobar
**Describe the solution you'd like**
Be able to specify a url that isn't localhost for the apiDevserverUrl input parameter.
**Describe alternatives you've considered**
There aren't any reasonable solutions.
コントリビューションガイド
調査の方向性
Issue では apiDevserverUrl がエントリーポイントとして特定されています。CLI が API プロキシにこれをどのように使用しているかを追跡し、現在の localhost の処理を確認してください。localhost 以外の値が指定された場合に、/api/foobar を指定されたホスト上の APIM URL にプロキシできることを確認して、完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, typescript
- 領域
- api, cli, cloud
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100