Increment game stat counter also for rematch live games
[vchess.git] / client / src / utils / afterRawLoad.js
CommitLineData
70c9745d
BA
1export default function afterRawLoad(text) {
2 return (
3 text
4 // Next two lines fix a weird issue after last update (2019-11)
5 .replace(/\\n/g, " ")
6 .replace(/\\"/g, '"')
7 .replace('export default "', "")
8 .replace(/";$/, "")
9 );
10}