Improve reliability of embed regex (missing start char)
This commit is contained in:
@@ -15,7 +15,7 @@ function Figma(props: Props) {
|
||||
|
||||
Figma.ENABLED = [
|
||||
new RegExp(
|
||||
"https://([w.-]+\\.)?figma\\.com/(file|proto)/([0-9a-zA-Z]{22,128})(?:/.*)?$"
|
||||
"^https://([w.-]+\\.)?figma\\.com/(file|proto)/([0-9a-zA-Z]{22,128})(?:/.*)?$"
|
||||
),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user