adding info about basic auth

This commit is contained in:
Raven Scott
2023-03-27 05:02:55 +02:00
parent ebf1d675f1
commit e08e8f6f93
4 changed files with 13 additions and 3 deletions

View File

@ -30,6 +30,10 @@ module.exports = {
'authority': process.env.PUBLIC_URL,
'accept': 'text/event-stream',
};
// The Auth stuff here is internal to my set up only and may be removed if you use this bot.
// 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: {