feat: remove unused feature
This commit is contained in:
@@ -8,18 +8,6 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title th:text="${title}"></title>
|
||||
<script th:if="${theme.config.basic.assert_enable}" no-pjax th:inline="javascript">
|
||||
(function () {
|
||||
const assertCode = /*[[${theme.config.basic.assert_code}]]*/ "";
|
||||
|
||||
try {
|
||||
new Function(assertCode)();
|
||||
} catch (e) {
|
||||
location.href = 'about:blank';
|
||||
setTimeout(() => document.close(), 0.1);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<script no-pjax th:inline="javascript">
|
||||
window.TerminalThemeConfig = {
|
||||
systemFontEnabled: /*[[${theme.config.style.system_font_enable}]]*/ false,
|
||||
|
||||
Reference in New Issue
Block a user