This is your regular reminder to use protocol-less urls on the web (i.e. "//host.test/path" instead of "http(s)://host.test/path")
The browser figures out the correct one (it uses the one it reached your site on), and you don't have to deal with it.
@tennoseremel i only serve on http from localhost (when developing), and that's when I want http links.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!