Closed Zielon closed 6 years ago
A possibility to change xhr request headers throughout an arrow function. For instance adding the authorization headers.
return potree.loadPointCloud(path, url => url, (input, init) => { setAuthorization(init); return fetch(input, init); });
or
return potree.loadPointCloud(path, url => url);
A possibility to change xhr request headers throughout an arrow function. For instance adding the authorization headers.
or