File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- example/django-blog
1+ web-framework/nodejs/koa
Original file line number Diff line number Diff line change @@ -57,4 +57,9 @@ Parameters:
5757 title : 函数名
5858 type : string
5959 default : koa
60- description : 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
60+ description : 函数名称,只能包含字母、数字、下划线和中划线。不能以数字、中划线开头。长度在 1-64 之间
61+ domainName :
62+ title : 域名配置
63+ type : string
64+ required : true
65+ x-domain : true
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ access: "{{ access }}"
2424vars : # 全局变量
2525 region : " {{ region }}"
2626 functionName : " {{ functionName }}"
27+ domainName : " {{ domainName }}"
2728 service :
2829 name : " {{ serviceName }}"
2930 description : ' Serverless Devs Web Framework Service'
@@ -65,7 +66,7 @@ services:
6566 methods :
6667 - GET
6768 customDomains :
68- - domainName : auto
69+ - domainName : ${vars.domainName}
6970 protocol : HTTP
7071 routeConfigs :
7172 - path : ' /*'
You can’t perform that action at this time.
0 commit comments