Merge pull request #3300 from overleaf/msm-chat-react-store

React chat store

GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
This commit is contained in:
Miguel Serrano
2020-11-25 03:04:29 +00:00
committed by Copybot
parent cb9b44141c
commit 3b1c4e19a4
16 changed files with 726 additions and 171 deletions
+4
View File
@@ -23,3 +23,7 @@ moment.updateLocale('en', {
sameElse: 'ddd, Do MMM YY'
}
})
// node-fetch doesn't accept relative URL's: https://github.com/node-fetch/node-fetch/blob/master/docs/v2-LIMITS.md#known-differences
const fetch = require('node-fetch')
global.fetch = (url, ...options) => fetch('http://localhost' + url, ...options)