From 0fdbd9052a762588abfe2146278a27771073809b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 4 Dec 2018 20:41:52 +0200 Subject: [PATCH] fix(edit) prefix (#207) --- client/modules/edit.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/modules/edit.js b/client/modules/edit.js index d6969ddb..1c42c625 100644 --- a/client/modules/edit.js +++ b/client/modules/edit.js @@ -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');