hack: using prod url

This commit is contained in:
2025-05-08 09:52:46 +01:00
parent eaa029cce1
commit 52cb50b168

View File

@ -82,7 +82,7 @@ func createLogHandler(logWriter *DatabaseWriter) func(r chi.Router) {
html := "" html := ""
imageTag := fmt.Sprintf(`<image src="http://localhost:3040/image/%s">`, stringImageId) imageTag := fmt.Sprintf(`<image src="https://haystack.johncosta.tech/image/%s">`, stringImageId)
for _, log := range logs { for _, log := range logs {
html += fmt.Sprintf("<div>%s</div>", string(ansihtml.ConvertToHTML([]byte(log)))+"\n") html += fmt.Sprintf("<div>%s</div>", string(ansihtml.ConvertToHTML([]byte(log)))+"\n")