Skip to content

Automate to set webhook url in example v2 #559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented May 1, 2025

No description provided.

@Yang-33 Yang-33 changed the title Automate to set webhook url Automate to set webhook url in example v2 May 1, 2025
))

if code == 200
p "✅ LINE Webhook URL set to #{webhook_endpoint}"
Copy link
Contributor Author

@Yang-33 Yang-33 May 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inside configure, logger can't be used, so this uses just printing to stdout. Is there any way to use logger?

@Yang-33 Yang-33 force-pushed the example-v2-patch-3 branch from 8a1b31c to 80b0a6f Compare May 1, 2025 09:22
@Yang-33 Yang-33 enabled auto-merge May 1, 2025 14:44
@@ -3,7 +3,7 @@
require 'line-bot-api'

set :environment, :production
set :app_base_url, ENV['APP_BASE_URL']
set :app_base_url, ENV.fetch('APP_BASE_URL', nil)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Q] Why did you allow nil?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants