Change share uri
This commit is contained in:
parent
7a397c3d13
commit
05b88c8add
1 changed files with 1 additions and 1 deletions
2
ui/ui.go
2
ui/ui.go
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue