all repos — honk @ 1c17597535ee73533ae362a256ba6c939c9d7662

my fork of honk

if develmode, relative links for emoji
Ted Unangst tedu@tedunangst.com
Sat, 26 Aug 2023 17:42:14 -0400
commit

1c17597535ee73533ae362a256ba6c939c9d7662

parent

d10282571ac529eb908b170c0a1a4286ae37ac73

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M fun.gofun.go

@@ -432,6 +432,9 @@ if err != nil {

continue } url := fmt.Sprintf("https://%s/emu/%s%s", serverName, fname, ext) + if develMode { + url = fmt.Sprintf("/emu/%s%s", fname, ext) + } return Emu{ID: url, Name: ename, Type: "image/" + ext[1:]}, true } return Emu{Name: ename, ID: "", Type: "image/png"}, true