How can we bypass a url in vite proxy? #5518
Answered
by
farazshuja
farazshuja
asked this question in
Q&A
-
Using vue-cli I have proxy settings something like this
So I m sending request to a target for all requests excepts few whitelisted urls. Now using vite proxy (which is using node-http-proxy) I did't find any way to bypass a url. What would be the equivalent of above code using vite proxy? |
Beta Was this translation helpful? Give feedback.
Answered by
farazshuja
Nov 3, 2021
Replies: 1 comment 1 reply
-
Ok found it. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
farazshuja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok found it.
bypass can be used as it is, although its not documented anywhere!