Gitea Webhook URL Generation


I have a gitea and drone instance running on the same server and they should communicate over local IPs.

At my current setup the webhook generated for gitea is automatically set to:

instead of

How can I enforce the second correct URL? I can edit it directly in the gitea webhook but drone updates it when re-enabling the repository.