mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
Merge pull request #2248 from overleaf/as-fix-cjk-prod
Disable CDN for PDFjs cmaps path GitOrigin-RevId: 52658564f22f94b7bd9893c499c5c58429a360d0
This commit is contained in:
committed by
sharelatex
parent
9cf73f965c
commit
6a2b3a39a9
@@ -139,7 +139,7 @@ block content
|
||||
//- Set base path for Ace scripts loaded on demand/workers and don't use cdn
|
||||
window.aceBasePath = "#{buildJsPath(lib('ace'), {cdn:false})}"
|
||||
//- Set path for PDFjs CMaps
|
||||
window.pdfCMapsPath = "#{buildJsPath('cmaps/')}"
|
||||
window.pdfCMapsPath = "#{buildJsPath('cmaps/', {cdn: false})}"
|
||||
window.uiConfig = JSON.parse('!{StringHelper.stringifyJsonForScript(uiConfig)}');
|
||||
//- enable doc hash checking for all projects
|
||||
//- used in public/js/libs/sharejs.js
|
||||
|
||||
Reference in New Issue
Block a user