mirror of
https://github.com/fiatjaf/nak.git
synced 2026-01-25 03:48:52 +00:00
git: add viewsource.win to list of possible web views.
This commit is contained in:
4
git.go
4
git.go
@@ -277,6 +277,10 @@ aside from those, there is also:
|
|||||||
|
|
||||||
// prompt for web URLs
|
// prompt for web URLs
|
||||||
webURLs, err := promptForStringList("web URLs", config.Web, []string{
|
webURLs, err := promptForStringList("web URLs", config.Web, []string{
|
||||||
|
fmt.Sprintf("https://viewsource.win/%s/%s",
|
||||||
|
nip19.EncodeNpub(nostr.MustPubKeyFromHex(config.Owner)),
|
||||||
|
config.Identifier,
|
||||||
|
),
|
||||||
fmt.Sprintf("https://gitworkshop.dev/%s/%s",
|
fmt.Sprintf("https://gitworkshop.dev/%s/%s",
|
||||||
nip19.EncodeNpub(nostr.MustPubKeyFromHex(config.Owner)),
|
nip19.EncodeNpub(nostr.MustPubKeyFromHex(config.Owner)),
|
||||||
config.Identifier,
|
config.Identifier,
|
||||||
|
|||||||
Reference in New Issue
Block a user