Gitea Webhook URL Generation

Hello,

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:

https://127.0.0.1:5001/hook?access_token=eyJhb...

instead of

http://127.0.0.1:5001/hook?access_token=eyJhb...

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.