improve and fix telegram instant preview for markdown articles.

This commit is contained in:
fiatjaf
2023-09-14 10:31:38 -03:00
parent 90ec9d92dd
commit b0bda60577
5 changed files with 57 additions and 19 deletions

View File

@@ -3,7 +3,6 @@ package main
import (
"context"
"embed"
"fmt"
"html"
"net/http"
"os"
@@ -39,7 +38,6 @@ func updateArchives(ctx context.Context) {
for {
select {
case <-ctx.Done():
fmt.Println("exit updateArchives gracefully...")
return
default:
loadNpubsArchive(ctx)