repos / pico

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

commit
abc69e7
parent
da1fd09
author
Eric Bower
date
2023-08-14 14:31:15 +0000 UTC
fix(pgs): link regression
1 files changed,  +2, -2
M pgs/wish.go
+2, -2
 1@@ -207,7 +207,7 @@ func WishMiddleware(handler *uploadassets.UploadAssetHandler) wish.Middleware {
 2 					return
 3 				}
 4 
 5-				bucketName := shared.GetAssetBucketName(user.ID)
 6+				/* bucketName := shared.GetAssetBucketName(user.ID)
 7 				bucket, err := store.GetBucket(bucketName)
 8 				if err != nil {
 9 					log.Error(err)
10@@ -234,7 +234,7 @@ func WishMiddleware(handler *uploadassets.UploadAssetHandler) wish.Middleware {
11 						log.Error(err)
12 						utils.ErrorHandler(session, err)
13 					}
14-				}
15+				} */
16 
17 				out := fmt.Sprintf("(%s) now points to (%s)\n", projectName, linkTo)
18 				_, _ = session.Write([]byte(out))