mirror of
https://github.com/photoprism/photoprism.git
synced 2025-11-03 11:01:58 +08:00
Sharing: Don't use the album UID twice in the redirect URL
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -62,7 +62,7 @@ func Shares(router *gin.RouterGroup) {
|
||||
}
|
||||
}
|
||||
|
||||
uri := conf.LibraryUri(path.Join("/albums", uid, shared))
|
||||
uri := conf.LibraryUri(path.Join("/albums", uid, "view"))
|
||||
|
||||
c.HTML(http.StatusOK, "share.gohtml", gin.H{"shared": gin.H{"token": token, "uri": uri}, "config": clientConfig})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user