mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
Fix Google sheets regex
This commit is contained in:
@@ -99,7 +99,7 @@ export const embedProviders: IEmbedProvider[] = [
|
||||
id: "gsheets",
|
||||
name: "Google Sheets",
|
||||
regex:
|
||||
/^((?:https?:)?\/\/)?((?:www|m)\.)?(docs\.google\.com)\/spreadsheets\/d\/e\/([a-zA-Z0-9_-]+)\/.*$/,
|
||||
/^((?:https?:)?\/\/)?((?:www|m)\.)?(docs\.google\.com)\/spreadsheets\/d\/([a-zA-Z0-9_-]+)\/.*$/,
|
||||
getEmbedUrl: (match, url: string) => {
|
||||
return url;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user