Skip to content
Snippets Groups Projects
Commit 05b88c8a authored by Frédéric Guillot's avatar Frédéric Guillot
Browse files

Change share uri

parent 7a397c3d
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool, feedHa ...@@ -90,7 +90,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool, feedHa
// Share pages. // Share pages.
uiRouter.HandleFunc("/entry/share/{entryID}", handler.shareGenerate).Name("shareGenerate").Methods("GET") 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. // User pages.
uiRouter.HandleFunc("/users", handler.showUsersPage).Name("users").Methods("GET") uiRouter.HandleFunc("/users", handler.showUsersPage).Name("users").Methods("GET")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment