Closed nihitx closed 4 years ago
Hello when creating an api endpoint for azure, I normally get/api/<path> and I was wondering if its possible to remove it via a new feature. I saw that it is doable in azure itself following this stack overflow page. https://stackoverflow.com/questions/47312531/how-to-remove-the-word-api-from-azure-functions-url
/api/<path>
If its doable already it would be great if you could point me towards it.
I think you should be able to just add:
"http": { "routePrefix": "" }
to the host.json file.
This is a Feature Proposal
Description
Hello when creating an api endpoint for azure, I normally get
/api/<path>
and I was wondering if its possible to remove it via a new feature. I saw that it is doable in azure itself following this stack overflow page. https://stackoverflow.com/questions/47312531/how-to-remove-the-word-api-from-azure-functions-urlIf its doable already it would be great if you could point me towards it.