diff --git a/public/index.html b/public/index.html
index 5ede372..385bfab 100644
--- a/public/index.html
+++ b/public/index.html
@@ -9,7 +9,7 @@
<% if (process.env.NODE_ENV === 'development' ) { %>
-
+
<% } %>
@@ -17,7 +17,7 @@
-
+
<% } %>
diff --git a/public/prod_api_config.js b/public/prod_api_config.js
index cf55744..f740d1e 100644
--- a/public/prod_api_config.js
+++ b/public/prod_api_config.js
@@ -1,7 +1,9 @@
window._CONFIG = {}
// onlyOffice文件获取地址
-window._CONFIG.documentUrl = 'http://laws-sinotruk-server-kmc2c.yf-grp:8080/laws-sinotruk/onlyoffice/downLoadFile?path='
+window._CONFIG.documentUrl = 'http://laws-sinotruk-server-kmc2c.yf-grp:8080/laws-sinotruk/onlyOffice/downLoadFile?path='
// onlyOffice文件保存回调地址(后端服务的ip端口,最后一个/是必须的)
window._CONFIG.callbackUrl = 'http://laws-sinotruk-server-kmc2c.yf-grp:8080/'
// onlyOffice自定义编辑器的地址(plugins的前端路径,最后一个/是必须的)
window._CONFIG.configUrl = 'http://onlyofficeplugins.sinotruk.com/'
+// 预览文件地址
+window._CONFIG.onlinePreviewDomainURL = 'http://127.0.0.1:8012/onlinePreview'
diff --git a/src/router/index.js b/src/router/index.js
index 85b7f80..29ce94b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -7,7 +7,7 @@ const routes = [
{
path: '/',
name: 'Home',
- redirect: '/List'
+ redirect: '/editorPage'
},
{
path: '/List',