Optionally support production style URL format http://accountname.localhost/container
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 393
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
We have extensive and multi-layered code base which assumes production style URL format
https://accountname.core.windows.net/container
We have looked what would it take to support emulated format
http://localhost/accountname/container and due to code layout and assumptions of which part of URL means what in various layers, it would be extensive and error-prone.
This ask is to optionally support production style URL format
http://accountname.localhost/container
We will take care of name resolution, say via hosts file, or via local DNS server so that accountname.localhost resolves to 127.0.0.1
But we need help in routing layers so that URL parts are properly recognized if some flag is set (e.g. set AZURITE_URL_STYLE=PRODUCTION, or set AZURITE_USE_PRODUCTION_URL_STYLE=1)
Can you please send some code pointers of which places we'd need to change so that we can prototype this change?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.