space_url - generate endpoint path.

PHOTO EMBED

Fri Mar 19 2021 18:12:49 GMT+0000 (UTC)

Saved by @roxanneskelly

    let space_url = function(path) {
        return `https://${stack}/api/v1/spaces/${space}/settings${path}?token=${jwt}`
    }
content_copyCOPY

https://github.com/highfidelity/Spatial-Audio-API-Examples/blob/main/experiments/environments/office/util/index.js