2

I'm creating a Gmail add-on and one of the use cases is that user could define a server URL from which the data should be fetched. However, the URL always will have trailing part in the domain name

https:// [part which user defines] .my.domain.com

Currently, there is no option to deploy Gmail add-on without providing the urlFetchWhitelist list. In my case, I can specify the end part of the whitelisted URLs, whereas the GAS gives only define prefix

Are there any approaches how to define some pattern for the urlFetchWhitelist?

vzhemevko
  • 815
  • 8
  • 25

1 Answers1

0

You can use a single wildcard character (*) to match a subdomain.

IMTheNachoMan
  • 5,343
  • 5
  • 40
  • 89