code cleanup and removal of auth stuff
This commit is contained in:
@ -35,11 +35,7 @@ module.exports = {
|
||||
// My chat GUI for Serge is locked down by basic auth in apache to safe guard from
|
||||
// Users issuing mulitple jobs at a time until there is some built in way to do so.
|
||||
const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/${sessionID}`, {
|
||||
headers,
|
||||
auth: {
|
||||
username: process.env.USERNAME,
|
||||
password: process.env.PASS
|
||||
}
|
||||
headers
|
||||
});
|
||||
|
||||
if (!response.data.questions) return interaction.editReply("You have no history in this session yet :) ");
|
||||
|
Reference in New Issue
Block a user