gi-nx / getTempUrl
ts
const getTempUrl: (...args: [string]) => Promise<string> = cachedGetTempUrl;Get a temporary URL for accessing files via storage proxy.
Parameters
| Parameter | Type |
|---|---|
...args | [string] |
Returns
Promise<string>
Promise resolving to the temporary access URL
Example
typescript
const tempUrl = await rpc.invoke("getTempUrl", [storageProxyUrl]);
// Use tempUrl to access the file