core: api: get contest

This commit is contained in:
undefined committed 2021-10-28 17:51:08 +08:00
1 parent 89424ec9cd
commit 5272a35b09
6 files changed
+33 -6

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ console.log(
document.addEventListener('DOMContentLoaded', () => {
window.UiContext = JSON.parse(window.UiContext);
// eslint-disable-next-line
try { __webpack_public_path__ = UiContext.cdn_prefix } catch (e) { }
// eslint-disable-next-line camelcase
try { __webpack_public_path__ = UiContext.cdn_prefix; } catch (e) { }
// Locale & langs
const { version, payload } = JSON.parse(localStorage.getItem('hydro-constant') || '{}');