mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-05-23 18:48:53 +00:00
This commit sets the http handler to the redirect function for let's encrypt enabled drone instances. In addition, the `Strict-Transport-Security` header is added to the redirect given `header.Secure` will only be added for gin routes. This commit resolves #2261. |
||
---|---|---|
.. | ||
main.go | ||
server.go | ||
setup.go |