diff --git a/.eslintignore b/.eslintignore index 47f7da7..9e5fc16 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,2 +1,3 @@ /dist /public +/*.js diff --git a/public/development_address_config.js b/public/development_address_config.js new file mode 100644 index 0000000..0a010d3 --- /dev/null +++ b/public/development_address_config.js @@ -0,0 +1,20 @@ +/** + * 防止打包部署时路径被写死-开发环境的配置项 + */ +window._CONFIG = {}; +window._CONFIG["domianURL"] = "/jero-boot"; // 路由转发 devServer +window._CONFIG["domianWebSocketURL"] = "http://localhost:21824/jero-boot"; +// 单点登录地址 +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://localhost:8012/onlinePreview"; + +// 会议管理报名二维码地址 +window._CONFIG['singUpQRCodeURL'] = 'http://10.0.1.27:21825/signUpEntrance' + +// 签到二维码url +window._CONFIG['signInUrl'] = '/meeting/payMeetingSituation/getSignInPage' + diff --git a/public/index.html b/public/index.html index 6f94fd0..b2b324b 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,14 @@