Skip to content

Commit

Permalink
fix: 解决云函数使用账号密码无法登录问题 (chen310#156)
Browse files Browse the repository at this point in the history
通过云函数设置固定出口IP解决使用账号密码无法登录问题
  • Loading branch information
chen310 authored Mar 23, 2022
1 parent d15fc80 commit cfbd14c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serverless/createyml.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def makeTimer(name, cron, enable=True, arg=""):
f.write(" name: " + getEnv("FUNCTION_NAME",
getEnv("DEFAULT_FUNCTION_NAME")) + "\n")
f.write(" description: 网易云音乐自动任务\n")
f.write(" eip: true\n")
f.write(" src: ./\n")
f.write(" handler: index.main_handler\n")
f.write(" runtime: Python3.6\n")
Expand Down

0 comments on commit cfbd14c

Please sign in to comment.