feat: sync host-based public app links
This commit is contained in:
parent
10de462191
commit
8cfb6f74c1
19 changed files with 375 additions and 26 deletions
|
|
@ -22,6 +22,10 @@ func (r *Router) publicLinkHost() string {
|
|||
return links.Host(r.cfg.PublicBaseURL)
|
||||
}
|
||||
|
||||
func (r *Router) publicAppLink(route string) string {
|
||||
return r.appLinks.Build(route, nil)
|
||||
}
|
||||
|
||||
func publicLinkWithBaseURL(baseURL, path string) string {
|
||||
return links.Build(baseURL, path, nil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue