Skip to content

Remove hard-coded /api path #201

@aryzing

Description

@aryzing

Would be great if the library could be more flexible to accomodate APIs not deployed at /api. Currently, this line in the code,

baseURL: `${protocol}://${hostname}${network}/api/`,

assumes any API the lib interacts with is deployed at /api. Would recommend to either remove it or have it as a param.

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