Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
  • Loading branch information
besoeasy committed Aug 1, 2024
1 parent 1ba6f7e commit 699905c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN apt-get update && \
COPY . .

# Expose the required ports for aria2c and the application
EXPOSE 6600 6800 6881-6888
EXPOSE 6799 6800 6881-6888

# Set environment variables (you can override these at runtime)
ENV TELEGRAMBOT=Telegram-Bot-Token
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ let servertoggle = true;
const handleServer = async (ctx) => {
try {
if (servertoggle) {
server.listen(6600, () => {});
ctx.reply("Server started at http://localhost:6600");
server.listen(6799, () => {});
ctx.reply("Server started at http://localhost:6799");
} else {
server.close();
ctx.reply("Server stopped");
Expand Down

0 comments on commit 699905c

Please sign in to comment.