DEVELOPMENT ENVIRONMENT

~liljamo/felu

9527d36f71ea746e09e306318c9cd73b10c173fc — Jonni Liljamo 1 year, 1 month ago f170db1
fix: DNS pattern in the ui, following the previous commit
2 files changed, 4 insertions(+), 2 deletions(-)

M internal/components/manage.templ
M internal/components/manage_templ.go
M internal/components/manage.templ => internal/components/manage.templ +2 -1
@@ 1,9 1,10 @@
package components

import "git.src.quest/~skye/felu-ddns/internal/config"
import "fmt"

func getDomainPattern() string {
	return config.FeluConfig.DNSPattern
	return fmt.Sprintf(".%s", config.FeluConfig.DNSPattern)
}

templ Manage() {

M internal/components/manage_templ.go => internal/components/manage_templ.go +2 -1
@@ 10,9 10,10 @@ import "io"
import "bytes"

import "git.src.quest/~skye/felu-ddns/internal/config"
import "fmt"

func getDomainPattern() string {
	return config.FeluConfig.DNSPattern
	return fmt.Sprintf(".%s", config.FeluConfig.DNSPattern)
}

func Manage() templ.Component {