-
Notifications
You must be signed in to change notification settings - Fork 2
/
vue.config.js
106 lines (106 loc) · 3.52 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
module.exports = {
chainWebpack: (config) => {
config.plugins.delete('prefetch')
config.module
.rule('i18n')
.resourceQuery(/blockType=i18n/)
.type('javascript/auto')
.use('i18n')
.loader('@intlify/vue-i18n-loader')
.end()
},
devServer: {
// 프록시 설정
proxy: {
// 프록시 요청을 보낼 api의 시작 부분
'^/sUniB': {
// target: 'https://mo.d-alim.com:9443/service',
target: 'https://www.unibuzzy.com',
// target: 'http://192.168.0.46:9090',
// target: 'http://192.168.0.10:9443',
// target: 'http://localhost:19090',
// target: 'http://192.168.219.103:19090',
// https://mo.d-alim.com:10443
changeOrigin: true,
secure: false,
pathRewrite: { '^/sUniB': '/sUniB' },
logLevel: 'debug'
},
'^/boardMain/service': {
target: 'https://mo.d-alim.com',
// target: 'http://192.168.0.10:9090',
// target: 'http://192.168.0.10:19090',
// target: 'http://localhost:19090',
// target: 'http://192.168.219.103:19090',
// https://mo.d-alim.com:10443
changeOrigin: true,
secure: false,
pathRewrite: { '^/boardMain/service': '/service' },
logLevel: 'debug'
},
'^/login/service': {
// target: 'https://mo.d-alim.com',
target: 'http://192.168.0.10:8083',
// target: 'http://192.168.0.10:9090',
// target: 'http://192.168.0.10:19090',
// target: 'http://localhost:19090',
// target: 'http://192.168.219.103:19090',
// https://mo.d-alim.com:10443
changeOrigin: true,
secure: false,
pathRewrite: { '^/login/service': '/' },
logLevel: 'debug'
},
'^/eduPl': {
target: 'https://mo.d-alim.com',
// target: 'http://192.168.0.10:9090',
// target: 'http://192.168.0.10:19090',
// target: 'http://222.233.118.96:19090',
// target: 'http://192.168.219.103:19090',
// https://mo.d-alim.com:10443
changeOrigin: true,
secure: false,
pathRewrite: { '^/eduPl': '/eduPl' },
logLevel: 'debug'
},
'^/apt123': {
target: 'https://mo.d-alim.com',
// target: 'http://192.168.0.10:9090',
// target: 'http://localhost:8083',
// target: 'http://192.168.0.10:19090',
// target: 'http://192.168.219.103:19090',
// https://mo.d-alim.com:10443
changeOrigin: true,
secure: false,
pathRewrite: { '^/apt123': '/apt123' },
logLevel: 'debug'
},
'^/fileServer': {
// http://m.passtory.net:7443/
// target: 'http://192.168.0.100:9091',
// target: 'http://192.168.0.100:9091',
target: 'https://m.passtory.net:7443',
changeOrigin: true,
secure: false,
pathRewrite: { '^/fileServer': '/fileServer' },
/* pathRewrite: { '^/fileServer': '/fileServer' }, */
logLevel: 'debug'
},
'^/firebase': {
target: 'https://firebasedynamiclinks.googleapis.com',
changeOrigin: true,
secure: false,
pathRewrite: { '^/firebase': '/' },
logLevel: 'debug'
},
'^/iamport': {
target: 'https://api.iamport.kr',
changeOrigin: true,
secure: false,
pathRewrite: { '^/iamport': '/' },
logLevel: 'debug'
}
}
},
css: { extract: false }
}