-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamic proxy target #70
Comments
Hi. Could anybody help to know how to toggle between proxies from the app if it's possible? For example, to have checkbox on page which toggles proxies from prod to dev mode. |
I don't think this is possible since it is set at runtime, what would be the use-case @iteamaster89 ? |
I was just looking for a similar thing! I am building an app to analyse another system, and need to use the other system's REST API to get configuration details. I want to be able to enter the remote system's URL and authentication details at run time and then use axios to pull the data, and I'm getting CORS errors, as expected. It looks like axios/proxy won't let me do this? Everything is set at dev time? |
Also looking to do this. I have a multi-tenant application built in laravel which I would like to proxy the api for (esp. using nuxt/auth-next package). Each tenant has their own api subdomain (someuser.example.com/api), so the login form has 3 fields: domain, email, password. The target of the proxy needs to reflect what the user inputs in the domain field (obviously after sanitizing/validating). |
@mindfullsilence did you found any solution? |
The |
No description provided.
The text was updated successfully, but these errors were encountered: