• Given a url that is relative to the project root, return a more API-appropriate URL.

    ==This needs a rethink.== Been meaning to change to project=... in the URL, especially now that dir gets rewritten and ugli-fied.

    • where does this get applied? I missed feature.js - are there other places?
    • there may be occasions where a project is setup with references to external resources

    Parameters

    • url: string
    • trailingSlash: boolean = true

    Returns string