mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 07:09:02 +02: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:
committed by
sharelatex
parent
90b1c4a23c
commit
3b3e9e79fa
@@ -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').
|
||||
|
||||
Reference in New Issue
Block a user