We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4c98a commit 9bd142cCopy full SHA for 9bd142c
packages/@vue/cli-service/lib/util/prepareProxy.js
@@ -27,7 +27,7 @@ module.exports = function prepareProxy (proxy, appPublicFolder) {
27
if (!proxy) {
28
return undefined
29
}
30
- if (Array.isArray(proxy) || (typeof proxy !== 'object' && typeof proxy !== 'string')) {
+ if (typeof proxy !== 'object' && typeof proxy !== 'string') {
31
console.log(
32
chalk.red(
33
'When specified, "proxy" in package.json must be a string or an object.'
0 commit comments