fix error trying to use in proxy mode

To proxy contentBase is an object {target: "..."} rather than a string
Could you change it to `=== 'string'`?