mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化前段测试
This commit is contained in:
parent
ce298ba16f
commit
6c49b26acf
12
app.js
12
app.js
@ -17,10 +17,14 @@ app.set('view engine', 'jade');
|
||||
|
||||
app.use(logger('dev'));
|
||||
|
||||
app.use('/callComponent', createProxyMiddleware({
|
||||
target: 'http://192.168.0.104:8443', // 目标代理地址
|
||||
changeOrigin: true
|
||||
}));
|
||||
let option = createProxyMiddleware({
|
||||
target: 'http://hc.demo.winqi.cn:8012', // 目标代理地址
|
||||
changeOrigin: true,
|
||||
logLevel: "debug"
|
||||
});
|
||||
|
||||
app.use('/callComponent', option);
|
||||
|
||||
app.use(express.json());
|
||||
app.use(express.urlencoded({ extended: false }));
|
||||
app.use(cookieParser());
|
||||
|
||||
@ -13,6 +13,18 @@
|
||||
<title>HC小区管理系统|java110</title>
|
||||
|
||||
<vc:create name="commonTop" location= "head"></vc:create>
|
||||
<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css"/>
|
||||
<link href="/font-awesome/css/font-awesome.css" rel="stylesheet"/>
|
||||
<!-- Toastr style -->
|
||||
<link href="/css/plugins/toastr/toastr.min.css" rel="stylesheet"/>
|
||||
<!-- Gritter -->
|
||||
<link href="/js/plugins/gritter/jquery.gritter.css" rel="stylesheet"/>
|
||||
<link href="/css/plugins/select2/select2.min.css" rel="stylesheet">
|
||||
<link href="/css/animate.css" rel="stylesheet"/>
|
||||
<link href="/css/style.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="/css/common.css"/>
|
||||
<link rel="stylesheet" href="/css/bootstrap/bootstrap-datetimepicker.min.css"/>
|
||||
|
||||
<script src="/js/bootstrap/jquery-3.3.1.min.js"></script>
|
||||
<script src="/js/vue/vue.min.js"></script>
|
||||
<script src="/js/vue/vue-resource.min.js"></script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user