Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Nodejs12.16-COSCdnRefresh/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"serverless-cloud-function-application": {
"Chinese": {
"name": "CDN缓存刷新",
"description": "本示例使用COS触发器,完成CDN缓存刷新",
"description": "本示例使用COS触发器,完成CDN缓存刷新,CDN 域名可通过环境变量 cdnHosts* 批量指定",
"attention": "",
"author": {
"name": "腾讯云社区开发者"
Expand Down
3 changes: 3 additions & 0 deletions Nodejs12.16-COSCdnRefresh/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ inputs:
asyncRunEnable: TRUE
traceEnable: TRUE
timeout: 86400
environment:
variables:
cdnHosts1: cdnHosts1.example.com