Skip to content

Commit f1d4ad5

Browse files
authored
fix: Allowlist URLs through manifest for Preview links with Smart Chips (#441)
1 parent 57b6020 commit f1d4ad5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Preview links from Google Books with smart chips
2+
3+
See
4+
https://developers.google.com/workspace/add-ons/samples/preview-links-google-books
5+
for additional details.

solutions/add-on/book-smartchip/appsscript.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"https://www.googleapis.com/auth/workspace.linkpreview",
77
"https://www.googleapis.com/auth/script.external_request"
88
],
9+
"urlFetchWhitelist": [
10+
"https://www.googleapis.com/books/v1/volumes/"
11+
],
912
"addOns": {
1013
"common": {
1114
"name": "Preview Books Add-on",
@@ -37,4 +40,4 @@
3740
]
3841
}
3942
}
40-
}
43+
}

0 commit comments

Comments
 (0)