From a9b984ec4fcefb8af06a6ec6d2213c98fa67367d Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 2 Dec 2019 17:23:10 -0500 Subject: [PATCH] allow emus and memes to be organized into directories --- web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web.go b/web.go index ac964bf..cb0a7f4 100644 --- a/web.go +++ b/web.go @@ -2280,8 +2280,8 @@ func serve() { getters.HandleFunc("/o", thelistingoftheontologies) getters.HandleFunc("/o/{name:.+}", showontology) getters.HandleFunc("/d/{xid:[[:alnum:].]+}", servefile) - getters.HandleFunc("/emu/{emu:[^/]+}", serveemu) - getters.HandleFunc("/meme/{meme:[^/]+}", servememe) + getters.HandleFunc("/emu/{emu:[^.]*[^/]+}", serveemu) + getters.HandleFunc("/meme/{meme:[^.]*[^/]+}", servememe) getters.HandleFunc("/.well-known/webfinger", fingerlicker) getters.HandleFunc("/server", serveractor)