fix(edit) prefix (#207)

This commit is contained in:
coderaiser 2018-12-04 20:41:52 +02:00
parent cbfce19f73
commit 0fdbd9052a

View file

@ -103,10 +103,10 @@ module.exports.hide = () => {
};
const loadFiles = async (element) => {
const {prefix} = CloudCmd;
const socketPath = prefix;
const {prefixSocket} = CloudCmd;
const url = `${prefix}/${EditorName}/${EditorName}.js`;
const prefix = `${CloudCmd.prefix}/${EditorName}`;
const socketPath = CloudCmd.prefix;
const prefixSocket = `${CloudCmd.prefixSocket}/${EditorName}`;
const url = `${prefix}/${EditorName}.js`;
time(Name + ' load');