moving port to .env
This commit is contained in:
@ -47,7 +47,7 @@ module.exports = {
|
||||
'accept': 'text',
|
||||
};
|
||||
console.log(session);
|
||||
const response = await axios.post(`http://${process.env.INTERNAL_IP}:8008/api/chat/${sessionID}/question?prompt=${prompt}`, {
|
||||
const response = await axios.post(`http://${process.env.INTERNAL_IP}:${process.env.SERGE_PORT}/api/chat/${sessionID}/question?prompt=${prompt}`, {
|
||||
headers
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user