Skip to content

Commit

Permalink
Support drive_link query parameter (#13)
Browse files Browse the repository at this point in the history
Resolve #12
  • Loading branch information
vladshcherbin authored Oct 17, 2023
1 parent 1778a2a commit fa0251b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const formatRegexes = new Set([
/https:\/\/drive\.google\.com\/file\/d\/(?<id>.*?)\/(?:edit|view)\?usp=sharing/,
/https:\/\/drive\.google\.com\/file\/d\/(?<id>.*?)\/(?:edit|view)\?usp=(drive_link|sharing)/,
/https:\/\/drive\.google\.com\/open\?id=(?<id>.*?)$/,
]);

Expand Down

0 comments on commit fa0251b

Please sign in to comment.