fix(bbb-html5): Use CDN for resource of layouts

This commit is contained in:
Anton Georgiev 2024-03-07 11:11:03 -05:00
parent 361717c69a
commit b26e32d519

View File

@ -22,7 +22,7 @@ const LayoutModalComponent = (props) => {
const [selectedLayout, setSelectedLayout] = useState(application.selectedLayout); const [selectedLayout, setSelectedLayout] = useState(application.selectedLayout);
const [updateAllUsed, setUpdateAllUsed] = useState(false); const [updateAllUsed, setUpdateAllUsed] = useState(false);
const BASE_NAME = Meteor.settings.public.app.basename; const BASE_NAME = Meteor.settings.public.app.cdn + Meteor.settings.public.app.basename;
const LAYOUTS_PATH = `${BASE_NAME}/resources/images/layouts/`; const LAYOUTS_PATH = `${BASE_NAME}/resources/images/layouts/`;
const isKeepPushingLayoutEnabled = SettingsService.isKeepPushingLayoutEnabled(); const isKeepPushingLayoutEnabled = SettingsService.isKeepPushingLayoutEnabled();