Skip to content

Commit

Permalink
更新 prettify.js 为新的 cdn 地址
Browse files Browse the repository at this point in the history
参考 cdn 官网公告:https://www.bootcdn.cn/
  • Loading branch information
chasonma authored and liu21st committed Feb 20, 2022
1 parent 7137741 commit 3dfa86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl/think_exception.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@
var err_line = $('.line-' + LINE, ol[0])[0];
err_line.className = err_line.className + ' line-error';

$.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
$.getScript('//cdn.bootcdn.net/ajax/libs/prettify/r298/prettify.min.js', function(){
prettyPrint();
// 解决Firefox浏览器一个很诡异的问题
Expand Down

0 comments on commit 3dfa86e

Please sign in to comment.