File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed 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:
57
57
title : 函数名
58
58
type : string
59
59
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 }}"
24
24
vars : # 全局变量
25
25
region : " {{ region }}"
26
26
functionName : " {{ functionName }}"
27
+ domainName : " {{ domainName }}"
27
28
service :
28
29
name : " {{ serviceName }}"
29
30
description : ' Serverless Devs Web Framework Service'
@@ -65,7 +66,7 @@ services:
65
66
methods :
66
67
- GET
67
68
customDomains :
68
- - domainName : auto
69
+ - domainName : ${vars.domainName}
69
70
protocol : HTTP
70
71
routeConfigs :
71
72
- path : ' /*'
You can’t perform that action at this time.
0 commit comments