This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch pwa in repository https://gitbox.apache.org/repos/asf/echarts-www.git
commit 0b53ffd0d5ae0cf1c6b51fc6c3075656458c9a00 Author: plainheart <[email protected]> AuthorDate: Tue Apr 19 20:15:04 2022 +0800 feat: add pwa --- _jade/layouts/basic.jade | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade index b89efc61..d379c097 100644 --- a/_jade/layouts/basic.jade +++ b/_jade/layouts/basic.jade @@ -28,6 +28,7 @@ html(lang='#{htmlAttrLang}') script. window.EC_WWW_LANG = '#{ecWWWLang}'; + window.EC_WWW_HOST = '#{host}'; script(type='text/javascript', src='#{cdnThirdParty.paceProgressBarJS}') @@ -43,6 +44,7 @@ html(lang='#{htmlAttrLang}') block extra_head script(type='text/javascript', src='#{cdnThirdParty.jquery}') + script(type='text/javascript', src='#{host}/pwa.js?#{homeVersion}') <!--[if lte IE 8]> body.lower-ie --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
