Possible to change main logo URL?

I did it like this in my community, added to a theme component:

<script type="text/discourse-plugin" version="0.8">
  api.changeWidgetSetting('home-logo', 'href', 'https://mywebsite.com');
</script>
10 Likes