def get_script_url():
# Dynamically determine the script's url
# For production use, this is not a great idea. Instead, set it
# explicitly. Remember that for production, webhook urls must start with
# https!
my_url = rm_queryparameters(full_url(request.environ))
# See http://flask.pocoo.org/docs/0.10/api/#flask.request
return my_url
ds_recipe_lib.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录