DEVELOPMENT ENVIRONMENT

~liljamo/felu

536e2fa1e10e5eae8f9cd864071903a51525529c — Jonni Liljamo 1 year, 1 month ago 1e9940e
fix: api key query param in update docs
2 files changed, 2 insertions(+), 2 deletions(-)

M internal/components/manage.templ
M internal/components/manage_templ.go
M internal/components/manage.templ => internal/components/manage.templ +1 -1
@@ 8,7 8,7 @@ func getDomainPattern() string {
}

func getUpdateACommand() string {
	return fmt.Sprintf("curl \"https://%s/update/a?domain=THE_PART_YOU_DEFINE&apikey=THE_API_KEY\"",
	return fmt.Sprintf("curl \"https://%s/update/a?domain=THE_PART_YOU_DEFINE&api_key=THE_API_KEY\"",
		config.FeluConfig.APIUrl)
}


M internal/components/manage_templ.go => internal/components/manage_templ.go +1 -1
@@ 17,7 17,7 @@ func getDomainPattern() string {
}

func getUpdateACommand() string {
	return fmt.Sprintf("curl \"https://%s/update/a?domain=THE_PART_YOU_DEFINE&apikey=THE_API_KEY\"",
	return fmt.Sprintf("curl \"https://%s/update/a?domain=THE_PART_YOU_DEFINE&api_key=THE_API_KEY\"",
		config.FeluConfig.APIUrl)
}