Skip to content

Commit

Permalink
Fix create account error
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmybisenius committed Oct 29, 2020
1 parent d569e12 commit 0c10008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/pages/create-account.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
},
computed: {
origin: function() {
return window.location.origin.replace('https://', '').replace('http://', '');
if (process.browser) {
return window.location.origin.replace('https://', '').replace('http://', '');
}
}
},
middleware: 'unauthenticated',
Expand Down

0 comments on commit 0c10008

Please sign in to comment.