Accept drive.google.com/file/d/blah as a substitute for docs.google.com/file/d/blah

This commit is contained in:
calzoneman 2014-09-02 16:50:26 -05:00
parent ea9fa0a95a
commit 293f943a9a
1 changed files with 1 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ function parseMediaLink(url) {
};
}
if ((m = url.match(/docs\.google\.com\/file\/d\/([^\/]*)/))) {
if ((m = url.match(/(?:docs|drive)\.google\.com\/file\/d\/([^\/]*)/))) {
return {
id: m[1],
type: "gd"