File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
web-framework/python/flask Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Type: Project
33Name : start-fc-flask
44Provider :
55 - 阿里云
6- Version : 0.0.3
6+ Version : 0.0.4
77Description : 本案例将Flask框架,这一非常受欢迎的Python Web框架,快捷创建并部署到阿里云函数计算 FC。
88HomePage : https://github.com/devsapp/start-web-framework
99Organization : 阿里云函数计算(FC)
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ name: flask-app
88access : " {{ access }}"
99vars :
1010 region : " {{ region }}"
11+ functionName : " {{ functionName }}"
1112resources :
1213 framework :
1314 component : fc3
@@ -35,7 +36,7 @@ resources:
3536 PATH : /var/fc/lang/python3.10/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ruby/bin:/opt/bin:/code:/code/bin
3637 PYTHONPATH : /opt/python:/code/python:/code
3738 TZ : Asia/Shanghai
38- functionName : " {{ functionName }} "
39+ functionName : ${vars. functionName}
3940 code : ./code
4041 layers :
4142 - acs:fc:${this.props.region}:official:layers/Python3-Flask2x/versions/2
@@ -59,4 +60,4 @@ resources:
5960 routeConfig :
6061 routes :
6162 - path : /*
62- functionName : ${resources.framework.props .functionName}
63+ functionName : ${vars .functionName}
You can’t perform that action at this time.
0 commit comments