w831152001 commited on
Commit
a69f1b6
·
1 Parent(s): 9cacb6c
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -36,6 +36,9 @@ app = Flask(__name__)
36
  configuration = Configuration(access_token='YOUR_CHANNEL_ACCESS_TOKEN')
37
  handler = WebhookHandler('YOUR_CHANNEL_SECRET')
38
 
 
 
 
39
 
40
  @app.route("/callback", methods=['POST'])
41
  def callback():
 
36
  configuration = Configuration(access_token='YOUR_CHANNEL_ACCESS_TOKEN')
37
  handler = WebhookHandler('YOUR_CHANNEL_SECRET')
38
 
39
+ @app.route("/")
40
+ def home():
41
+ return {"message": "Line Webhook Server"}
42
 
43
  @app.route("/callback", methods=['POST'])
44
  def callback():