mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-14 14:18:42 +01:00
More work on Shares
This commit is contained in:
parent
ab04e33da6
commit
84aa094e56
19 changed files with 150 additions and 167 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import config from '../config'
|
||||
|
||||
export const shareUrl = (path) => {
|
||||
const url = new URL(config.shareBaseUrl + '/' + path, window.location.href)
|
||||
const url = new URL(config.publicBaseUrl + '/' + path, window.location.href)
|
||||
return url.href
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue