hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
736 stars 56 forks source link

error page links to example.org #1285

Open abochmann opened 1 year ago

abochmann commented 1 year ago

Steps to reproduce the problem

The static error page generated as public/assets/500.html contains a link to http://example.org/ on my instance:

<body class='error'>
<div class='dialog'>
<div class='dialog__illustration'>
<h1>
<a class="brand" href="http://example.org/">Hometown
</a></h1>
</div>
<div class='dialog__message'>
<h1>We&#39;re sorry, but something went wrong on our end.
</h1>
</div>
</div>
</body>

I haven't been able to find out where the link comes from. I assume the file gets generated from app/views/errors/500.html.haml, but that doesn't help (me) much in terms of the resulting content.

Expected behaviour

The link on the error page should probably point to the Hometown source?

Actual behaviour

...instead it links to example.org

Detailed description

No response

Specifications

v4.0.2+hometown-1.1.1

abochmann commented 1 year ago

I see the link points to the instance itself on, for example, friend.camp

Is there some variable this gets filled from that I maybe didn't setup up correctly?