question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

passThrough no longer works when a relative baseURL is defined

See original GitHub issue

A 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:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ctimmermcommented, Jul 2, 2019
0reactions
michael-ecbcommented, Jun 13, 2019

any updates ? thanks

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found