missed something
This commit is contained in:
parent
a1401529e3
commit
24cf2323a3
@ -8,8 +8,6 @@ module.exports = {
|
|||||||
private: true,
|
private: true,
|
||||||
run: async (client, interaction) => {
|
run: async (client, interaction) => {
|
||||||
const file = './cache/' + interaction.user.id
|
const file = './cache/' + interaction.user.id
|
||||||
console.log(process.env.USER)
|
|
||||||
console.log(process.env.PASS)
|
|
||||||
|
|
||||||
unirest
|
unirest
|
||||||
.post(`https://${process.env.PUBLIC_URL}/api/chat`)
|
.post(`https://${process.env.PUBLIC_URL}/api/chat`)
|
||||||
|
@ -34,7 +34,7 @@ module.exports = {
|
|||||||
const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/` + session2, {
|
const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/` + session2, {
|
||||||
headers,
|
headers,
|
||||||
auth: {
|
auth: {
|
||||||
username: process.env.USER,
|
username: process.env.USERNAME,
|
||||||
password: process.env.PASS
|
password: process.env.PASS
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user