diff --git a/site/lib/constants.js b/site/lib/constants.js new file mode 100644 index 0000000..2ebe063 --- /dev/null +++ b/site/lib/constants.js @@ -0,0 +1,2 @@ +export const YOUTUBE_REGEX = + /^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;