Skip to content

Commit

Permalink
Consider *.gmail.com trusted viewer domains (#25027)
Browse files Browse the repository at this point in the history
Gmail mobile clients use *.gmail.com as the base URL for the WebView
that embeds the AMP HTML iframe.
  • Loading branch information
zhangsu authored and William Chou committed Oct 14, 2019
1 parent 279e78c commit 1fd304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const urls = {
*/
trustedViewerHosts: [
/(^|\.)google\.(com?|[a-z]{2}|com?\.[a-z]{2}|cat)$/,
/(^|\.)gmail\.dev$/,
/(^|\.)gmail\.(com|dev)$/,
],
};

Expand Down

0 comments on commit 1fd304b

Please sign in to comment.