decord/source/modules/user_profile/WidgetAssetUtils.tsx

18 lines
521 B
TypeScript
Raw Normal View History

2026-08-12 06:57:52 +00:00
// Module ID: 12523
// Function ID: 12524
2026-08-06 08:05:19 +00:00
// Name: getWidgetAssetURL
// Dependencies: [676, 2]
// Exports: getWidgetAssetURL
2026-08-12 06:57:52 +00:00
// Module 12523 (getWidgetAssetURL)
2026-08-06 08:05:19 +00:00
import { DEFAULT_CDN_HOST } from "ME";
const result = require("set").fileFinishedImporting("modules/user_profile/WidgetAssetUtils.tsx");
export const getWidgetAssetURL = function getWidgetAssetURL(userId, fileId) {
if (CDN_HOST == null) {
CDN_HOST = DEFAULT_CDN_HOST;
}
return "https://" + CDN_HOST + "/widget-assets/" + userId + "/" + fileId;
};