function dumpFileUrl
dumpFileUrl(
token?: string | null
): string

Returns the URL of the uploaded file of dump. The caller passes the session's media token (useAuth's mediaToken) as token, which goes in the query string since a media element can't send a header. The server needs it for a private dump's file.

Parameters

optional
token: string | null

Return Type

string

Usage

import { dumpFileUrl } from "src/utils/shared/urls.ts";