Initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 防止打包部署时路径被写死
|
||||
*/
|
||||
window._CONFIG = {}
|
||||
window._CONFIG.domianURL = '/laws-sinotruk' // 路由转发 devServer
|
||||
window._CONFIG.domianWebSocketURL = 'http://localhost:8184/laws-sinotruk'
|
||||
// 单点登录地址
|
||||
window._CONFIG.staticDomainURL = window._CONFIG.domianURL + '/sys/common/download'
|
||||
window._CONFIG.pdfDomainURL = window._CONFIG.domianURL + '/sys/common/pdf/pdfPreviewIframe'
|
||||
window._CONFIG.casPrefixUrl = 'http://cas.example.org:8443/cas'
|
||||
// 预览文件地址
|
||||
window._CONFIG.onlinePreviewDomainURL = 'http://127.0.0.1:8012/onlinePreview'
|
||||
// onlyOffice前端服务地址
|
||||
window._CONFIG.onlyOfficeUrl = 'http://127.0.0.1:8080'
|
||||
// onlyOffice下载文件地址(暂时没用)
|
||||
window._CONFIG.onlyOfficeDownloadFileUrl = 'http://localhost:8184/sys/common/download'
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,23 @@
|
||||
<!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, maximum-scale=1, minimum-scale=1, user-scalable=no">
|
||||
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico">-->
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<style>
|
||||
:root {
|
||||
font-size: calc(100vw / 10);
|
||||
}
|
||||
</style>
|
||||
<script src="<%= BASE_URL %>api_address_config.js"></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>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user