mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2007 from overleaf/bg-enable-doc-hash-checking-for-all-users
enable doc hash checking for all users GitOrigin-RevId: 9f26580bf21791669361cc84ca2fa561b1bb3f50
This commit is contained in:
parent
90b1c4a23c
commit
3b3e9e79fa
1 changed files with 3 additions and 3 deletions
|
@ -181,9 +181,9 @@ block requirejs
|
|||
window.aceWorkerPath = "#{aceWorkerPath}";
|
||||
window.pdfCMapsPath = "#{pdfCMapsPath}"
|
||||
window.uiConfig = JSON.parse('!{StringHelper.stringifyJsonForScript(uiConfig)}');
|
||||
//- enable doc hash checking for projects created after 2019-06-09
|
||||
//- this is for a staged rollout, eventually we will turn this on for all projects
|
||||
window.useShareJsHash = (window.project_id > "5cfd8f700000000000000000")
|
||||
//- enable doc hash checking for all projects
|
||||
//- used in public/js/libs/sharejs.js
|
||||
window.useShareJsHash = true
|
||||
|
||||
- if (settings.overleaf != null)
|
||||
script(type='text/javascript').
|
||||
|
|
Loading…
Reference in a new issue