Merge pull request #19755 from antobinary/cdn-fix
fix(bbb-html5): Use CDN for resource of layouts
This commit is contained in:
commit
6e9fbfb216
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user