allow emus and memes to be organized into directories

This commit is contained in:
Ted Unangst 2019-12-02 17:23:10 -05:00
parent 2668c04b8e
commit a9b984ec4f
1 changed files with 2 additions and 2 deletions

4
web.go
View File

@ -2280,8 +2280,8 @@ func serve() {
getters.HandleFunc("/o", thelistingoftheontologies) getters.HandleFunc("/o", thelistingoftheontologies)
getters.HandleFunc("/o/{name:.+}", showontology) getters.HandleFunc("/o/{name:.+}", showontology)
getters.HandleFunc("/d/{xid:[[:alnum:].]+}", servefile) getters.HandleFunc("/d/{xid:[[:alnum:].]+}", servefile)
getters.HandleFunc("/emu/{emu:[^/]+}", serveemu) getters.HandleFunc("/emu/{emu:[^.]*[^/]+}", serveemu)
getters.HandleFunc("/meme/{meme:[^/]+}", servememe) getters.HandleFunc("/meme/{meme:[^.]*[^/]+}", servememe)
getters.HandleFunc("/.well-known/webfinger", fingerlicker) getters.HandleFunc("/.well-known/webfinger", fingerlicker)
getters.HandleFunc("/server", serveractor) getters.HandleFunc("/server", serveractor)