Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Nuovo host comandi
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxelweb committed Apr 11, 2020
1 parent c80cc58 commit 48c1be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const botLogin = (bot) => {
const username = message.from.username;
const chatId = message.from.id;
axios
.post(`http://localhost:9999/auth/telegram`, {
.post(`http://core.host.redroundrobin.site:9999/auth/telegram`, {
telegramName: username,
telegramChat: chatId,
})
Expand Down
2 changes: 1 addition & 1 deletion commands/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const axios = require("axios");
const botStatus = (bot) => {
bot.command("status", (message) => {
axios
.get(`http://localhost:9999/status`)
.get(`http://core.host.redroundrobin.site:9999/status`)
.then((res) => {
const data = res.data;
const name = data.name;
Expand Down

0 comments on commit 48c1be6

Please sign in to comment.