Buckets:

imerfanrajabee's picture
download
raw
296 Bytes
export const getSearch = parsedURL => {
if (parsedURL.search) {
return parsedURL.search;
}
const lastOffset = parsedURL.href.length - 1;
const hash = parsedURL.hash || (parsedURL.href[lastOffset] === '#' ? '#' : '');
return parsedURL.href[lastOffset - hash.length] === '?' ? '?' : '';
};

Xet Storage Details

Size:
296 Bytes
·
Xet hash:
151935c214b975614b9d7fe29aef6ca896cf959329bb83f31359c40ea23cfa7f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.