repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
bd7f5fe
parent
995d7b2
author
Eric Bower
date
2023-11-12 16:44:41 +0000 UTC
skip imgs
1 files changed,  +3, -0
M cmd/scripts/file-size-sync/sync.go
+3, -0
 1@@ -36,6 +36,9 @@ func main() {
 2 	posts, err := picoDb.FindPosts()
 3 	bail(err)
 4 	for _, post := range posts {
 5+		if post.Space == "imgs" {
 6+			continue
 7+		}
 8 		post.FileSize = binary.Size([]byte(post.Text))
 9 		_, err := picoDb.UpdatePost(post)
10 		bail(err)