wizard icon indicating copy to clipboard operation
wizard copied to clipboard

Improve @wizardoc/http-request

Open mistricky opened this issue 3 years ago • 0 comments

Currently, the mode field only does the one thing that automatically adds prefixes depending on whether it is a DEV environment, but in some condition, it's not very fixable for developers, in instance, I need to custom the prefix of request URL sometimes, through the @wizardoc/http-request allow us to change the prefix in HTTPFactory but the mode is very useful now, it just kind of like the mode field is redundant.

I'm thinking about that if it is possible to replace the mode field with replace field directly, that might allow developers can pass the prefix of request URL in server config.

mistricky avatar Feb 01 '21 17:02 mistricky