Разрешаем самоподписанные сертификаты для проксирования в webpack

This commit is contained in:
ErickSkrauch
2016-12-11 17:17:11 +03:00
parent 4bb619fdc6
commit b017147359

View File

@@ -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,