ci: remove useless packtracker

This commit is contained in:
undefined committed 2022-07-10 14:47:43 +08:00
1 parent 2def671b62
commit 2a54b0aa25
3 files changed
+6 -20

No files matched your search

+6 -6
View File
@@ -32,12 +32,6 @@ document.addEventListener('DOMContentLoaded', async () => {
// eslint-disable-next-line camelcase
try { __webpack_public_path__ = UiContext.cdn_prefix; } catch (e) { }
const res = await fetch(`/constant/${UiContext.constantVersion}`, { cache: 'force-cache' });
const data = await res.json();
eval(data[0]); // eslint-disable-line no-eval
data.shift();
window.Hydro.preload = data;
const e = document.createElement('style');
const dark = UiContext.domain.nav_logo_dark || UiContext.nav_logo_dark;
const dark2x = UiContext.domain.nav_logo_dark_2x || UiContext.nav_logo_dark_2x;
@@ -54,5 +48,11 @@ document.addEventListener('DOMContentLoaded', async () => {
}` : ''}`;
document.body.appendChild(e);
const res = await fetch(`/constant/${UiContext.constantVersion}`, { cache: 'force-cache' });
const data = await res.json();
eval(data[0]); // eslint-disable-line no-eval
data.shift();
window.Hydro.preload = data;
import('./hydro');
}, false);