Skip to content

Commit

Permalink
Update appphoto1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Boring206 authored Jan 9, 2025
1 parent 57bf131 commit 275e476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appphoto1.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
# 新增從伺服器提供圖片的路由
@app.route('/img/<filename>')
def serve_image(filename):
return send_from_directory('img', filename)

return send_from_directory(r'd:\\User\\Desktop\\BMICHART\\img', filename)
@app.route("/callback", methods=['POST'])
def callback():
# 驗證 LINE 平台的請求
Expand Down

0 comments on commit 275e476

Please sign in to comment.