Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Redgifs regex fix #1506

Merged
merged 14 commits into from
May 31, 2024
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
Loading