Commit 720a2dc4 authored by lixy's avatar lixy

域名

parent 588cc54c
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* window.UEDITOR_HOME_URL = "/xxxx/xxxx/"; * window.UEDITOR_HOME_URL = "/xxxx/xxxx/";
*/ */
// window.UEDITOR_HOME_URL = "/static/utf8-jsp/"; // window.UEDITOR_HOME_URL = "/static/utf8-jsp/";
var URL = window.UEDITOR_HOME_URL || getUEBasePath(); var URL = document.domain;debugger
/** /**
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
UEDITOR_HOME_URL: URL UEDITOR_HOME_URL: URL
// 服务器统一请求接口路径 // 服务器统一请求接口路径
, serverUrl:URL+"api/universal/file/app/unauth/ueditor" , serverUrl:URL+"/api/universal/file/app/unauth/ueditor"
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义 //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
, toolbars: [[ , toolbars: [[
...@@ -434,7 +434,7 @@ ...@@ -434,7 +434,7 @@
function getUEBasePath(docUrl, confUrl) { function getUEBasePath(docUrl, confUrl) {debugger
return getBasePath(docUrl || self.document.URL || self.location.href, confUrl || getConfigFilePath()); 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