Hi, There is one js
file in Flarum that loaded cdn.jsdelivr.net
and some times my webserver can't connect to it and my codes doesn't have HLJS
.
I just had to directly edit Flarum's file to edit that URL and make it to load in my own server, But it's painful to edit over and over after every updates.
So is there any easy way to do it with some hooks, extensions, etc?
For more describe, if I add a code box to my post, this line will be add after that code box in source:
<script async="" crossorigin="anonymous" data-hljs-style="github" integrity="sha384-fSWmbgQwbzLXpKFwOj6DlXOstUp9/gRcSSNLI50wWQYg7XIihuBcYUTG/GR7ocjz" src="https://cdn.jsdelivr.net/gh/s9e/hljs-loader@1.0.33/loader.min.js"></script>
I prefer to save and load this loader.min.js
file, in my own server. Any solution?