M cmd/list/main.go => cmd/list/main.go +1 -1
@@ 85,7 85,7 @@ func run() error {
core.CORSReadOnlyMiddleware,
)
- tlsman := cmd.LoadAutoTLS(config, db, models.DomainServiceLinks)
+ tlsman := cmd.LoadAutoTLS(config, db, models.DomainServiceList)
if tlsman != nil {
srv = srv.WithCertManager(tlsman)
}
M cmd/short/main.go => cmd/short/main.go +1 -1
@@ 83,7 83,7 @@ func run() error {
core.CORSReadOnlyMiddleware,
)
- tlsman := cmd.LoadAutoTLS(config, db, models.DomainServiceLinks)
+ tlsman := cmd.LoadAutoTLS(config, db, models.DomainServiceShort)
if tlsman != nil {
srv = srv.WithCertManager(tlsman)
}