17 lines
521 B
TypeScript
17 lines
521 B
TypeScript
// Module ID: 12523
|
|
// Function ID: 12524
|
|
// Name: getWidgetAssetURL
|
|
// Dependencies: [676, 2]
|
|
// Exports: getWidgetAssetURL
|
|
|
|
// Module 12523 (getWidgetAssetURL)
|
|
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;
|
|
};
|