Skip to content

Commit

Permalink
Revert "enhance(gdocs): allow ?tab= param coming from gdocs"
Browse files Browse the repository at this point in the history
This reverts commit 53dd6f0.
  • Loading branch information
Marigold committed Nov 14, 2024
1 parent bc40d1c commit e0278f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const IMAGES_DIRECTORY = "/images/published/"
* https://docs.google.com/spreadsheets/d/abcd1234
*/
export const gdocUrlRegex =
/https:\/\/docs\.google\.com\/document(?:\/u\/\d)?\/d\/([\-\w]+)\/?(edit)?(\?tab=[\w\.]+)#?/
/https:\/\/docs\.google\.com\/document(?:\/u\/\d)?\/d\/([\-\w]+)\/?(edit)?#?/

export const GDOCS_BASE_URL = "https://docs.google.com"
export const GDOCS_URL_PLACEHOLDER = `${GDOCS_BASE_URL}/document/d/****/edit`
Expand Down

0 comments on commit e0278f3

Please sign in to comment.