1
0
Fork 0

Change share uri

This commit is contained in:
Frédéric Guillot 2020-03-19 20:56:23 -07:00
parent 7a397c3d13
commit 05b88c8add

View file

@ -90,7 +90,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool, feedHa
// Share pages.
uiRouter.HandleFunc("/entry/share/{entryID}", handler.shareGenerate).Name("shareGenerate").Methods("GET")
uiRouter.HandleFunc("/shared/{shareCode}", handler.sharePage).Name("share").Methods("GET")
uiRouter.HandleFunc("/share/{shareCode}", handler.sharePage).Name("share").Methods("GET")
// User pages.
uiRouter.HandleFunc("/users", handler.showUsersPage).Name("users").Methods("GET")