Making environment element-specific

This commit is contained in:
Rainer Simon 2020-09-22 08:30:20 +02:00
parent 2f66c862a8
commit 73642e21f4
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
*/
let serverTimeDifference = 0;
export default {
export default () => ({
/**
* A generic container for RecogitoJS/Annotorious
@ -40,4 +40,4 @@ export default {
toClientTime: serverTime =>
Date.parse(serverTime) - serverTimeDifference
}
})