Skip to content

Problem with LoopBackConfig.setApiVersion('') #645

Description

@PhilippeCorreges

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions