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:
commit
f38947892f
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user