1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

webui: Friendly URL support for #73

This commit is contained in:
James Hillyerd
2018-04-07 18:17:39 -07:00
parent 7e71b4a42c
commit bcede38453
4 changed files with 20 additions and 1 deletions

View File

@@ -32,4 +32,6 @@ func SetupRoutes(r *mux.Router) {
web.Handler(MailboxDownloadAttach)).Name("MailboxDownloadAttach").Methods("GET")
r.Path("/mailbox/vattach/{name}/{id}/{num}/{file}").Handler(
web.Handler(MailboxViewAttach)).Name("MailboxViewAttach").Methods("GET")
r.Path("/{name}").Handler(
web.Handler(MailboxIndexFriendly)).Name("MailboxListFriendly").Methods("GET")
}