From 47340b456bbd780ce9a153663e870f70d70ddd59 Mon Sep 17 00:00:00 2001 From: maxim nikonov Date: Sat, 20 Sep 2025 01:43:41 +0500 Subject: feat: cgi --- tags.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tags.go') diff --git a/tags.go b/tags.go index caffd4a..a0ddfa6 100644 --- a/tags.go +++ b/tags.go @@ -23,8 +23,7 @@ func extractTitle(content string) string { func main() { // CGI header - fmt.Println("Content-Type: text/html; charset=utf-8") - fmt.Println() + fmt.Print("Content-Type: text/html; charset=utf-8\r\n\r\n") // Получаем query string из окружения rawQuery := os.Getenv("QUERY_STRING") -- cgit v1.2.3