Azure / Azure/static-web-apps-cli
Be able to point to a hosted APIM instance
- Dominant language
- TypeScript
- Stars
- 668
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
**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.
Contributor guide
Research direction
The issue identifies apiDevserverUrl as the entry point; trace how the CLI uses it for API proxying and review the current localhost handling. Confirm completion by proxying /api/foobar to the specified hosted APIM URL when a non-localhost value is supplied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- api, cli, cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100