update 配置项
This commit is contained in:
+29
-28
@@ -1,37 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<!-- onlyOffice服务器地址-->
|
||||
<script type="text/javascript" src="http://47.92.92.38:8103/web-apps/apps/api/documents/api.js"></script>
|
||||
<!-- 全局配置 -->
|
||||
<% if (process.env.NODE_ENV === 'development' ) { %>
|
||||
<script>
|
||||
window._CONFIG = {
|
||||
'documentUrl': 'http://39.98.140.126:18888/file/',
|
||||
// 'callbackUrl': 'http://39.98.140.126:17211/',
|
||||
'configUrl': 'http://localhost:8081/',
|
||||
};
|
||||
</script>
|
||||
<% } %>
|
||||
<% if (process.env.NODE_ENV === 'production' ) { %>
|
||||
<script>
|
||||
window._CONFIG = {
|
||||
'documentUrl': 'https://srms.foton.com.cn/file/',
|
||||
'callbackUrl': 'https://srms.foton.com.cn',
|
||||
'configUrl': 'http://10.100.5.116:8089/',
|
||||
};
|
||||
</script>
|
||||
<% } %>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<!-- onlyOffice服务器地址-->
|
||||
<!-- <script type="text/javascript" src="http://onlyoffice.sinotruk.com/web-apps/apps/api/documents/api.js"></script>-->
|
||||
<script type="text/javascript" src="http://47.92.92.38:8103/web-apps/apps/api/documents/api.js"></script>
|
||||
<!-- 全局配置 -->
|
||||
<% if (process.env.NODE_ENV === 'development' ) { %>
|
||||
<script>
|
||||
window._CONFIG = {
|
||||
'documentUrl': 'http://39.98.140.126:18888/file/model/task_9ad64b01/task_9ad64b01_top_9ad64b01_node.docx',
|
||||
// 'callbackUrl': 'http://39.98.140.126:17211/',
|
||||
'configUrl': 'http://localhost:8081/'
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
<% if (process.env.NODE_ENV === 'production' ) { %>
|
||||
<script>
|
||||
window._CONFIG = {
|
||||
'documentUrl': 'http://onlyofficevue.sinotruk.com/DOCX.docx',
|
||||
// 'callbackUrl': 'https://srms.foton.com.cn',
|
||||
'configUrl': 'http://onlyoffice.sinotruk.com/'
|
||||
}
|
||||
</script>
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||
Please enable it to continue.</strong>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
|
||||
Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ const routes = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
redirect: '/onlyoffice',
|
||||
redirect: '/editor',
|
||||
},
|
||||
{
|
||||
path: '/onlyoffice',
|
||||
|
||||
Reference in New Issue
Block a user