Support auth-protected images

This commit is contained in:
Jon Staab
2025-04-28 15:46:48 -07:00
parent ccdd18a863
commit b5a28c71ad
6 changed files with 62 additions and 8 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ export const IMGPROXY_URL = "https://imgproxy.coracle.social"
export const REACTION_KINDS = [REACTION, ZAP_RESPONSE]
export const NIP46_PERMS =
"nip04_encrypt,nip04_decrypt,nip44_encrypt,nip44_decrypt," +
"nip44_encrypt,nip44_decrypt," +
[CLIENT_AUTH, AUTH_JOIN, MESSAGE, THREAD, COMMENT, GROUPS, WRAP, REACTION]
.map(k => `sign_event:${k}`)
.join(",")