Skip to content

Commit

Permalink
fix wrong processs key
Browse files Browse the repository at this point in the history
  • Loading branch information
kieusonlam committed Oct 29, 2019
1 parent 8e44554 commit d7b02af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default (ctx, inject) => {
<%= key %>ClientConfig.getAuth = <%= key %>GetAuth
}

if (process.browser && <%= key %>ClientConfig.browserHttpEndpoint) {
if (process.client && <%= key %>ClientConfig.browserHttpEndpoint) {
<%= key %>ClientConfig.httpEndpoint = <%= key %>ClientConfig.browserHttpEndpoint
}

Expand Down

0 comments on commit d7b02af

Please sign in to comment.