Gmail add-on define pattern for the urlFetchWhitelist

旧城冷巷雨未停 提交于 2019-12-10 11:19:01

问题


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?

来源:https://stackoverflow.com/questions/49407688/gmail-add-on-define-pattern-for-the-urlfetchwhitelist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!