This commit is contained in:
Lain Iwakura 2025-07-12 19:41:13 +03:00
parent 9eddfdd502
commit 4638cf35e0
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8
2 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 6.8 MiB

After

Width:  |  Height:  |  Size: 6.8 MiB

View File

@ -117,7 +117,7 @@ func trollingHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("Content-Type", "text/html; charset=utf-8")
w.Header().Set("Server", "0BSD_FOR_EVERYONE") w.Header().Set("Server", "0BSD_FOR_EVERYONE")
fileContent, err := os.ReadFile("files/мы-делаем-небольшой-троллинг.gif") fileContent, err := os.ReadFile("files/trolling.gif")
if err != nil { if err != nil {
log.Printf("Ошибка чтения файла: %v", err) log.Printf("Ошибка чтения файла: %v", err)
fileContent = []byte("Файл не найден") fileContent = []byte("Файл не найден")