Legacy /i and /h two-segment routes remain supported in the router and viewer.
4 lines
211 B
TypeScript
4 lines
211 B
TypeScript
export const buildHotlinkViewerPath = (accessToken: string): string => `/h/${accessToken}`;
|
|
|
|
export const buildLegacyHotlinkViewerPath = (uploadId: string, secret: string): string => `/h/${uploadId}/${secret}`;
|