Skip to content

feat(cdn): add docs for refreshing with specified env vars #224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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