Emit single-segment hotlink share and viewer URLs.
Legacy /i and /h two-segment routes remain supported in the router and viewer.
This commit is contained in:
@@ -1 +1,3 @@
|
||||
export const buildHotlinkViewerPath = (uploadId: string, secret: string): string => `/h/${uploadId}/${secret}`;
|
||||
export const buildHotlinkViewerPath = (accessToken: string): string => `/h/${accessToken}`;
|
||||
|
||||
export const buildLegacyHotlinkViewerPath = (uploadId: string, secret: string): string => `/h/${uploadId}/${secret}`;
|
||||
|
||||
Reference in New Issue
Block a user