Skip to content

Commit

Permalink
Merge pull request algolia/vue-instantsearch#368 from Jexordexan/master
Browse files Browse the repository at this point in the history
fix: Powered-by component is not SSR compatible algolia/vue-instantsearch#367
  • Loading branch information
rayrutjes authored Dec 4, 2017
2 parents cf1dc39 + 310f13b commit f5b9038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-instantsearch/src/components/PoweredBy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default {
'https://www.algolia.com/?' +
'utm_source=vue-instantsearch&' +
'utm_medium=website&' +
`utm_content=${location.hostname}&` +
`utm_content=${location ? location.hostname : ''}&` +
'utm_campaign=poweredby'
);
},
Expand Down

0 comments on commit f5b9038

Please sign in to comment.