mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-12 14:49:40 +02:00
Removed Songwhip (they shut down) and replaced it with TIDAL's universal link system
This commit is contained in:
10
src/features/sharingService/sharingService.ts
Normal file
10
src/features/sharingService/sharingService.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export class SharingService {
|
||||
/**
|
||||
* Retrieve the universal link given a regular track link
|
||||
* @param currentUrl
|
||||
* @returns
|
||||
*/
|
||||
public static getUniversalLink(currentUrl: string): string {
|
||||
return `${currentUrl}?u`;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user