Skip to content

Improve relativeBase #76

Closed
Closed
@brettz9

Description

@brettz9

I would like relativeBase to potentially be a relative path itself (relative to window.location.href) and for it to be possible for this to differ from the base URL for the URL supplied to resolveRefsAt.

For example, if I have:

JsonRefs.resolveRefsAt('languages.json', {relativeBase: localesBase});

...I'd wish for localesBase to only apply to refs within languages.json, but not to the path of languages.json itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions