mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Разрешаем самоподписанные сертификаты для проксирования в webpack
This commit is contained in:
@@ -278,7 +278,8 @@ if (!isProduction && !isTest) {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: config.apiHost,
|
target: config.apiHost,
|
||||||
changeOrigin: true // add host http-header, based on target
|
changeOrigin: true, // add host http-header, based on target
|
||||||
|
secure: false // allow self-signed certs
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
hot: true,
|
hot: true,
|
||||||
|
Reference in New Issue
Block a user