moving port to .env

This commit is contained in:
Raven Scott
2023-04-07 21:18:40 +02:00
parent 4b3cda8eff
commit 8c192acd7d
4 changed files with 5 additions and 3 deletions

View File

@ -31,7 +31,7 @@ module.exports = {
'accept': 'text/event-stream',
};
const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/${sessionID}`, {
const response = await axios.get(`http://${process.env.INTERNAL_IP}:${process.env.SERGE_PORT}/api/chat/${sessionID}`, {
headers
});