Use new() when registering the module
This might be what's preventing us from registering this on the Caddy page. See https://caddy.community/t/cannot-claim-package/20537
This commit is contained in:
parent
3d4c4db169
commit
0ab43aee88
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
)
|
||||
|
||||
func init() {
|
||||
caddy.RegisterModule(&TailscaleAuth{})
|
||||
caddy.RegisterModule(new(TailscaleAuth))
|
||||
}
|
||||
|
||||
type TailscaleAuth struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue