File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ class Apigw {
4141 const {
4242 serviceId,
4343 protocols,
44+ netTypes = [ 'OUTER' ] ,
4445 serviceName = 'Serverless_Framework' ,
4546 serviceDesc = 'Created By Serverless Framework' ,
4647 } = serviceConf ;
@@ -67,6 +68,7 @@ class Apigw {
6768 serviceDesc : serviceDesc || detail . serviceDesc ,
6869 serviceName : serviceName || detail . serviceName ,
6970 protocol : protocols ,
71+ netTypes : netTypes ,
7072 } ) ;
7173 }
7274 }
@@ -77,14 +79,18 @@ class Apigw {
7779 serviceName : serviceName || 'Serverless_Framework' ,
7880 serviceDesc : serviceDesc || 'Created By Serverless Framework' ,
7981 protocol : protocols ,
82+ netTypes : netTypes ,
8083 } ) ;
8184 serviceCreated = true ;
8285 }
8386
8487 return {
8588 serviceName,
8689 serviceId : detail . ServiceId ,
87- subDomain : detail . OuterSubDomain || detail . InnerSubDomain ,
90+ subDomain :
91+ detail . OuterSubDomain && detail . InnerSubDomain
92+ ? [ detail . OuterSubDomain , detail . InnerSubDomain ]
93+ : detail . OuterSubDomain || detail . InnerSubDomain ,
8894 serviceCreated,
8995 } ;
9096 }
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ async function runTest() {
1212 protocols : [ 'http' , 'https' ] ,
1313 serviceName : 'serverless' ,
1414 environment : 'release' ,
15+ netTypes : [ 'OUTER' ] ,
1516 customDomains : [
1617 {
1718 domain : 'test.yugasun.com' ,
You can’t perform that action at this time.
0 commit comments