Merge pull request 'Removed console from initApp.ts' (#6) from remove_console into dev

Reviewed-on: Mavorion/Dolphin-Frontent-Boilerplate#6
This commit is contained in:
Sandip Ghimire 2026-01-08 12:50:29 +05:45
commit f38947892f

View File

@ -15,19 +15,6 @@ async function loadConfig() {
href: `${DOLPHIN.config.PAGE_TITLE_LOGO}`,
});
document.head.appendChild(link);
if (DOLPHIN.config.ENVIRONMENT == "PRODUCTION") {
setInterval(() => {
console.clear();
const style = `
color: #00CCFF;
font-size: 64px;
font-weight: bold;
text-shadow: 1px 1px 2px #000;
`;
console.log("%cDolphin Kiosk - Mavorion", style);
}, 1000);
}
} catch (e) {
console.error("Configuration Missing:", e);
const msg = document.createElement("div");