apply-clients 7.1.36-yuchuan-16 → 7.1.36-yuchuan-17
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.
- package/build/dev-server.js +28 -10
- package/package.json +1 -1
package/build/dev-server.js
CHANGED
|
@@ -6,17 +6,35 @@ var proxyMiddleware = require('http-proxy-middleware')
|
|
|
6
6
|
var app = express()
|
|
7
7
|
var compiler = webpack(config)
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
|
|
9
|
+
var ldap = 'http://193.168.1.44:8600/'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
11
|
// var ldap = 'http://193.168.1.64:8082'
|
|
12
|
-
var ldap = 'http://
|
|
13
|
-
var applyinstall = 'http://
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
var fadada = 'http://
|
|
17
|
-
|
|
12
|
+
// var ldap = 'http://61.134.61.238:8655'
|
|
13
|
+
// var applyinstall = 'http://61.134.61.238:8655'
|
|
14
|
+
var applyinstall = 'http://193.168.1.44:8600/'
|
|
15
|
+
var fadada = 'http://193.168.1.44:8600/'
|
|
16
|
+
// var fadada = 'http://61.134.61.238:8655'
|
|
17
|
+
// var fadada = 'http://127.0.0.1:8080/'
|
|
18
18
|
var proxyTable = {
|
|
19
|
-
|
|
19
|
+
'/testfiles': {
|
|
20
|
+
target: fadada
|
|
21
|
+
},
|
|
22
|
+
'/api/af-auth/login': {
|
|
23
|
+
target: fadada
|
|
24
|
+
},
|
|
25
|
+
'/rs/logic/getAllNode': {
|
|
26
|
+
target: fadada
|
|
27
|
+
},
|
|
28
|
+
'/android.html/rs': {
|
|
29
|
+
target: fadada,
|
|
30
|
+
pathRewrite: {
|
|
31
|
+
'^/android.html': ''
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
'/webapps/applyinstall/excel': {
|
|
35
|
+
target: fadada
|
|
36
|
+
},
|
|
37
|
+
|
|
20
38
|
'/rs/logic/pushShortUrlSms': {
|
|
21
39
|
target: fadada
|
|
22
40
|
},
|
|
@@ -163,10 +181,10 @@ app.use(hotMiddleware)
|
|
|
163
181
|
// serve pure static assets
|
|
164
182
|
app.use('/static', express.static('./static'))
|
|
165
183
|
|
|
166
|
-
module.exports = app.listen(
|
|
184
|
+
module.exports = app.listen(8400, function (err) {
|
|
167
185
|
if (err) {
|
|
168
186
|
console.log(err)
|
|
169
187
|
return
|
|
170
188
|
}
|
|
171
|
-
console.log('Listening at http://localhost:
|
|
189
|
+
console.log('Listening at http://localhost:8400')
|
|
172
190
|
})
|