fix(bbb-html5): Use CDN for resource of layouts
This commit is contained in:
parent
361717c69a
commit
b26e32d519
@ -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