mirror of
https://gitlab.com/MrFry/qmining-page
synced 2026-04-28 11:17:37 +02:00
removed some domain dependencies
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ export default class Chat extends React.Component {
|
||||
return
|
||||
}
|
||||
// https://socket.io/docs/v4/handling-cors/#Configuration
|
||||
const socket = io(`${constants.chatUrl}`, {
|
||||
const socket = io(`${constants.siteUrl}`, {
|
||||
withCredentials: true,
|
||||
extraHeaders: {
|
||||
'qmining-chat': 'qmining-chat',
|
||||
|
||||
Reference in New Issue
Block a user