Merge pull request #19755 from antobinary/cdn-fix

fix(bbb-html5): Use CDN for resource of layouts
This commit is contained in:
Anton Georgiev 2024-03-07 15:11:24 -05:00 committed by GitHub
commit 6e9fbfb216
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();