mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 20:55:13 +00:00
fix(openInApp): Tidal regex (#3747)
Tidal no longer requires /browse/ in its URLs Co-authored-by: lewisakura <lewi@lewisakura.moe>
This commit is contained in:
parent
556a27704a
commit
6f16f1312c
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ const UrlReplacementRules: Record<string, URLReplacementRule> = {
|
|||
description: "Open Epic Games links in the Epic Games Launcher",
|
||||
},
|
||||
tidal: {
|
||||
match: /^https:\/\/tidal\.com\/browse\/(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/,
|
||||
match: /^https:\/\/tidal\.com\/(?:browse\/)?(track|album|artist|playlist|user|video|mix)\/(.+)(?:\?.+?)?$/,
|
||||
replace: (_, type, id) => `tidal://${type}/${id}`,
|
||||
description: "Open Tidal links in the Tidal app",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue