mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #3300 from overleaf/msm-chat-react-store
React chat store GitOrigin-RevId: 204009eb5798b02a41e621b33b05ef0cb9d10b15
This commit is contained in:
+4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user