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