Commit 4856df59 authored by hezhen's avatar hezhen

123

parent 87eb8e7e
......@@ -22,6 +22,7 @@
window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
var URL = window.UEDITOR_HOME_URL || getUEBasePath();
/**
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
*/
......@@ -31,7 +32,7 @@
UEDITOR_HOME_URL: URL
// 服务器统一请求接口路径
, serverUrl:"http://10.1.37.192:8765/api/universal/file/app/unauth/ueditor"
, serverUrl:"https://xxtest.upyuns.com/api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
, toolbars: [[
......@@ -430,6 +431,9 @@
}
};
function getUEBasePath(docUrl, confUrl) {
return getBasePath(docUrl || self.document.URL || self.location.href, confUrl || getConfigFilePath());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment