mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(cloudcmd) PREFIX -> prefix
This commit is contained in:
parent
6e65ad615b
commit
5e9db8eb3c
19 changed files with 53 additions and 50 deletions
|
|
@ -103,10 +103,10 @@ module.exports.hide = () => {
|
|||
};
|
||||
|
||||
const loadFiles = async (element) => {
|
||||
const socketPath = CloudCmd.PREFIX;
|
||||
const {prefix} = CloudCmd;
|
||||
const socketPath = prefix;
|
||||
const {prefixSocket} = CloudCmd;
|
||||
const prefix = socketPath + '/' + EditorName;
|
||||
const url = prefix + '/' + EditorName + '.js';
|
||||
const url = `${prefix}/${EditorName}/${EditorName}.js`;
|
||||
|
||||
time(Name + ' load');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue