fix name spacing link

This commit is contained in:
PhilReact 2025-07-05 07:15:28 +03:00
parent d5c1b55e40
commit 1e434888db

View File

@ -75,7 +75,7 @@ export const AppViewer = React.forwardRef(({ app , hide, isDevMode, skipAuth}, i
const copyLinkFunc = (e) => {
const {tabId} = e.detail
if(tabId === app?.tabId){
let link = 'qortal://' + app?.service + '/' + app?.name
let link = 'qortal://' + app?.service + '/' + app?.name.replace(/ /g, '%20');
if(path && path.startsWith('/')){
link = link + removeTrailingSlash(path)
}