apply-clients 3.5.5-59 → 3.5.5-60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,17 +5,13 @@ var proxyMiddleware = require('http-proxy-middleware')
5
5
  // var httpProxy = require('http-proxy')
6
6
  var app = express()
7
7
  var compiler = webpack(config)
8
- // var proxy = httpProxy.createProxyServer()
9
- // var ldap = 'http://121.36.79.201:8400'
10
- // var applyinstall = 'http://121.36.79.201:8400'
11
- var ldap = 'http://192.168.50.93:31986/'
12
- var applyinstall = 'http://192.168.50.93:31986/'
8
+ var ldap = 'http://192.168.50.93:31986'
9
+ var applyinstall = 'http://192.168.50.93:31986'
10
+ //测试地址
11
+ // var ldap = 'http://192.168.50.93:31986'
12
+ // var applyinstall = 'http://192.168.50.93:31986'
13
13
 
14
14
  var proxyTable = {
15
- '/api': {
16
- target: ldap,
17
- changeOrigin: true
18
- },
19
15
  '/rs/logic/getSaleInitData': {
20
16
  target: ldap,
21
17
  changeOrigin: true
@@ -128,10 +124,10 @@ app.use(hotMiddleware)
128
124
  // serve pure static assets
129
125
  app.use('/static', express.static('./static'))
130
126
 
131
- module.exports = app.listen(8300, function (err) {
127
+ module.exports = app.listen(31986, function (err) {
132
128
  if (err) {
133
129
  console.log(err)
134
130
  return
135
131
  }
136
- console.log('Listening at http://localhost:8300')
132
+ console.log('Listening at http://localhost:31986')
137
133
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.5.5-59",
3
+ "version": "3.5.5-60",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {