-
Notifications
You must be signed in to change notification settings - Fork 82
/
vue.config.js
122 lines (121 loc) · 2.94 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
const events = require('events')
events.EventEmitter.defaultMaxListeners = 50
module.exports = {
lintOnSave: false,
devServer: {
proxy: {
'/timeline-merger': {
target: 'http://timeline-merger-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/timeline-merger': '/'
}
},
'/entry-view': {
target: 'https://entry-view-storage-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/entry-view': '/'
}
},
'/hot-topic-comment-wrapper': {
target: 'https://hot-topic-comment-wrapper-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/hot-topic-comment-wrapper': '/'
}
},
'/short-msg': {
target: 'https://short-msg-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/short-msg': '/'
}
},
'/xiaoce-cache': {
target: 'https://xiaoce-cache-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/xiaoce-cache': '/'
}
},
'/xiaoce-timeline': {
target: 'https://xiaoce-timeline-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/xiaoce-timeline': '/'
}
},
'/comment-wrapper-ms': {
target: 'https://comment-wrapper-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/comment-wrapper-ms': '/'
}
},
'/event-storage': {
target: 'https://event-storage-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/event-storage': '/'
}
},
'/auth-center': {
target: 'https://auth-center-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/auth-center': '/'
}
},
'/user-storage': {
target: 'https://user-storage-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/user-storage': '/'
}
},
'/gold-tag': {
target: 'https://gold-tag-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/gold-tag': '/'
}
},
'/user-like': {
target: 'https://user-like-wrapper-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/user-like': '/'
}
},
'/collection-set': {
target: 'https://collection-set-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/collection-set': '/'
}
},
'/lccro': {
target: 'https://lccro-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/lccro': '/'
}
},
'/follow-api': {
target: 'https://follow-api-ms.juejin.im',
changeOrigin: true,
pathRewrite: {
'/follow-api': '/'
}
},
},
},
css: {
loaderOptions: {
stylus: {
import: '~@/assets/css/variable.styl'
}
}
}
}