Merge pull request 'Fix env docs comment'
This commit was merged in pull request #1.
This commit is contained in:
@@ -10,9 +10,9 @@ import (
|
||||
func main() {
|
||||
var (
|
||||
port = os.Getenv("PORT") // Bot app listening port, same as port in API_URL
|
||||
publicURL = os.Getenv("PUBLIC_URL") // http://<telegram-api-server>:<port>
|
||||
publicURL = os.Getenv("PUBLIC_URL") // http://<bot-app-host>:<bot-app-port>/<random-name-path>
|
||||
token = os.Getenv("TOKEN") // Token from @BotFather
|
||||
apiURL = os.Getenv("API_URL") // http://<bot-app-host>:<bot-app-port>/<random-name-path>
|
||||
apiURL = os.Getenv("API_URL") // http://<telegram-api-server>:<port>
|
||||
)
|
||||
|
||||
webhook := &tb.Webhook{
|
||||
|
||||
Reference in New Issue
Block a user