Refactor(Protocol): Optimize desktop and app prtocol

This commit is contained in:
2024-05-21 17:41:09 +08:00
parent 8ab33860b2
commit 3ba1f35420
6 changed files with 10 additions and 2 deletions

View File

@@ -145,4 +145,4 @@ export const getViewPath = (
}
export const getAndroidUrl = (username: string, toolId: string) =>
`oxygen://opentool/${username}/${toolId}`
`${import.meta.env.VITE_APP_PROTOCOL}://opentool/${username}/${toolId}`