mean-expert-official / loopback-sdk-builder

Tool for auto-generating Software Development Kits (SDKs) for LoopBack
Other
399 stars 178 forks source link

Problem with LoopBackConfig.setApiVersion('') #645

Open PhilippeCorreges opened 5 years ago

PhilippeCorreges commented 5 years ago

What type of issue are you creating?

What version of this module are you using?

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.