Skip to content

Commit 88df485

Browse files
committed
fix: template url output
1 parent cf61300 commit 88df485

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

serverless.component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: express
2-
version: 0.0.2
2+
version: 0.0.3
33
author: Tencent Cloud Inc.
44
org: Tencent Cloud Inc.
55
description: Deploys a serverless Express.js application onto Tencent SCF and Tencent APIGateway.

src/serverless.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class Express extends Component {
179179

180180
// 部署函数 + API网关
181181
const outputs = {}
182-
if (!functionConf.src) {
182+
if (!functionConf.code.src) {
183183
outputs.templateUrl = CONFIGS.templateUrl
184184
}
185185
const [apigwOutputs, functionOutputs] = await Promise.all([

0 commit comments

Comments
 (0)