diff options
author | Claudius Coenen | 2018-11-05 00:35:48 +0100 |
---|---|---|
committer | GitHub | 2018-11-05 00:35:48 +0100 |
commit | 64e9dfd7140a90ca388eed3e0c26df800850e799 (patch) | |
tree | 05a313b4a9526547b8b1782b9094135e2064d6d1 /public/views/codimd/foot.ejs | |
parent | 637f955bddabf953778d27ffe348683bf1c27653 (diff) | |
parent | 44ffc564da1dd20b2fae3247d9fa314a52e0aaca (diff) |
Merge pull request #1035 from ccoenen/feature/global-site-layout-vars
removing global site layout vars from individual routers
Diffstat (limited to '')
-rw-r--r-- | public/views/codimd/foot.ejs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/views/codimd/foot.ejs b/public/views/codimd/foot.ejs index 000ccb6d..9b1c68d6 100644 --- a/public/views/codimd/foot.ejs +++ b/public/views/codimd/foot.ejs @@ -1,4 +1,4 @@ -<script src="<%= url %>/js/mathjax-config-extra.js"></script> +<script src="<%= serverURL %>/js/mathjax-config-extra.js"></script> <% if(useCDN) { %> <script src="https://cdnjs.cloudflare.com/ajax/libs/spin.js/2.3.2/spin.min.js" integrity="sha256-PieqE0QdEDMppwXrTzSZQr6tWFX3W5KkyRVyF1zN3eg=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script> @@ -21,7 +21,7 @@ <script src="https://cdnjs.cloudflare.com/ajax/libs/abcjs/3.1.1/abcjs_basic-min.js" integrity="sha256-Sq1r2XXWXQoShQKsS0Wrf5r7fRkErd9Fat9vHYeU68s=" crossorigin="anonymous"></script> <%- include ../build/index-scripts %> <% } else { %> -<script src="<%- url %>/build/MathJax/MathJax.js" defer></script> -<script src="<%- url %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script> +<script src="<%- serverURL %>/build/MathJax/MathJax.js" defer></script> +<script src="<%- serverURL %>/build/MathJax/config/TeX-AMS-MML_HTMLorMML.js" defer></script> <%- include ../build/index-pack-scripts %> <% } %> |