map pure-min.css to pure.min.css (#1629)
This commit is contained in:
parent
38a74b23f0
commit
074d333764
|
@ -35,6 +35,7 @@
|
||||||
"LogString": true,
|
"LogString": true,
|
||||||
"BlockedRequestMethods": true,
|
"BlockedRequestMethods": true,
|
||||||
"GoogleDomains": true,
|
"GoogleDomains": true,
|
||||||
|
"ReqAnalyzer": true,
|
||||||
|
|
||||||
"fileGuard": true,
|
"fileGuard": true,
|
||||||
"files": true,
|
"files": true,
|
||||||
|
|
|
@ -430,6 +430,11 @@ const MathJax3Files = {
|
||||||
'es5/tex-svg.js': true,
|
'es5/tex-svg.js': true,
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const ReqAnalyzer = {
|
||||||
|
'BUNDLE_PURE_CSS': 'Pure CSS (Bundle)',
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To block bad resources, e.g. fingerprint
|
* To block bad resources, e.g. fingerprint
|
||||||
*
|
*
|
||||||
|
|
|
@ -261,6 +261,8 @@ requestAnalyzer._getPathOfBundle = function (initiator, channelHost, channelPath
|
||||||
filename = requestAnalyzer._handleUncompressedFiles(filename);
|
filename = requestAnalyzer._handleUncompressedFiles(filename);
|
||||||
} else if (bundle === 'Font Awesome (Fonts) (Bundle)') {
|
} else if (bundle === 'Font Awesome (Fonts) (Bundle)') {
|
||||||
filename = requestAnalyzer._handleFontawesomeFiles(targetPath, filename);
|
filename = requestAnalyzer._handleFontawesomeFiles(targetPath, filename);
|
||||||
|
} else if (bundle === ReqAnalyzer.BUNDLE_PURE_CSS) {
|
||||||
|
filename = (filename === 'pure-min.css' ? 'pure.min.css' : filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filename === false) {
|
if (filename === false) {
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
<h2>New in LocalCDN:</h2>
|
<h2>New in LocalCDN:</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="release-notes-area">
|
<div class="release-notes-area">
|
||||||
<p></p>
|
<p>Mapping</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li></li>
|
<li>pure-min.css to pure.min.css (<a href="https://codeberg.org/nobody/LocalCDN/issues/1629">#1629</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
|
|
Loading…
Reference in New Issue