mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-02 17:02:56 +01:00
Update entrypoint
This commit is contained in:
parent
00165a7ef5
commit
079328dba5
@ -36,6 +36,12 @@ fi
|
|||||||
if [ -n "$TELEGRAM_LOCAL" ]; then
|
if [ -n "$TELEGRAM_LOCAL" ]; then
|
||||||
CUSTOM_ARGS="${CUSTOM_ARGS} --local"
|
CUSTOM_ARGS="${CUSTOM_ARGS} --local"
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$TELEGRAM_INSECURE" ]; then
|
||||||
|
CUSTOM_ARGS="${CUSTOM_ARGS} --insecure"
|
||||||
|
fi
|
||||||
|
if [ -n "$TELEGRAM_RELATIVE" ]; then
|
||||||
|
CUSTOM_ARGS="${CUSTOM_ARGS} --relative"
|
||||||
|
fi
|
||||||
|
|
||||||
COMMAND="telegram-bot-api ${DEFAULT_ARGS}${CUSTOM_ARGS}"
|
COMMAND="telegram-bot-api ${DEFAULT_ARGS}${CUSTOM_ARGS}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user