Yes, it is this plugin : https://github.com/nodebb/nodebb-plugin-global-chat
Some night, tongues are loosened, and it seems to be interesting to keep a "short history" (such as 24h) of the global chat.
Which is weird since I am logged in to localhost:4567 in the same browser tab and have the express cookie. Is there a config issue I am not considering?
ACP:
Access-Control-Allow-Origin
Access-Control-Allow-Origin Regular Expression
Set to 127.0.0.1
Access-Control-Allow-Credentials
true
var url;
if(process.env.NODE_ENV === 'production')
url='tbd';
else
url='http://localhost:4567/api/login';
axios.get(url,{credentials: 'include',withCredentials: true}).then(response =>{
console.log(response.data);
}).catch(err =>{
console.log(err);
})