Skip to content
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

Problem with LoopBackConfig.setApiVersion('') #645

Open
2 of 6 tasks
PhilippeCorreges opened this issue May 28, 2019 · 0 comments
Open
2 of 6 tasks

Problem with LoopBackConfig.setApiVersion('') #645

PhilippeCorreges opened this issue May 28, 2019 · 0 comments

Comments

@PhilippeCorreges
Copy link

What type of issue are you creating?

  • Bug
  • Enhancement
  • Question

What version of this module are you using?

  • 2.0.10 (Stable)
  • 2.1.0-rc.n (2.1 Release Candidate n)
  • Other

Write other if any:

Please add a description for your issue:

When the API is not versioned, if you write as suggested in your component:
LoopBackConfig.setBaseURL('https://localhost:3000'); LoopBackConfig.setApiVersion('');

an additional '/' is generated.
So the request are made towards: //Customers/login.

Sometimes APIs are not versioned and this is blocking.

Kind Regards for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant