passThrough no longer works when a relative baseURL is defined
See original GitHub issueA recent change (https://github.com/ctimmerm/axios-mock-adapter/pull/146) breaks passThrough when a relative baseURL is defined. It now prepends the baseURL twice when performing the pass through.
I wrote a test to demonstrate the failure - https://github.com/jrparish/axios-mock-adapter/blob/feature/pass-through-test/test/pass_through.spec.js#L113
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Passthrough Page Fails to Redirect in Service Console
So when I am in the service console, any redirect functionality (filling URL values before going to a custom VisualForce page) no longer...
Read more >Server - Mirage JS
By default, if your app makes a request that is not defined in your server config, Mirage will throw an error. You can...
Read more >Elasticsearch Passthrough | Nuxeo Documentation
When your Elasticsearch instance is embedded is the same JVM than your Nuxeo instance (not recommended for production), the passthrough works ...
Read more >Start shape dialog's Data Passthrough option
If Data Passthrough is enabled in the child process, the parent process sends ... with scheduling without a data source, it runs as...
Read more >Design Decision: Designing StoreFront and Gateway Integration
StoreFront only allows Gateway passthrough from Gateways that are defined in its configuration. Citrix Gateway takes the URL entered into users' ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed by #200, added a test case for it: https://github.com/ctimmerm/axios-mock-adapter/blob/master/test/pass_through.spec.js#L145
any updates ? thanks