Skip to content

Commit

Permalink
Fix redgifs v3 subdomain support (#1506)
Browse files Browse the repository at this point in the history
Resolves #1505
  • Loading branch information
net00-1 committed May 31, 2024
1 parent d08a3d4 commit 593709b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/media/external/redgifs/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { isNative } from "../../../../helpers/device";

export const redgifUrlRegex =
/^https:\/\/(?:www\.)?redgifs.com\/watch\/([a-z]+)/;
/^https:\/\/(?:www\.|v3\.)?redgifs.com\/watch\/([a-z]+)/;

/**
* Uncomment `return true` in dev to test with following command
Expand Down

0 comments on commit 593709b

Please sign in to comment.