Gmail add-on define pattern for the urlFetchWhitel

2019-06-07 07:03发布

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?

0条回答
登录 后发表回答