arg, forgotten files…

This commit is contained in:
2024-06-03 12:16:11 +02:00
parent 0b76d1a624
commit 0a7f5407d8
7 changed files with 1283 additions and 2747 deletions
+29
View File
@@ -0,0 +1,29 @@
class Config {
constructor() {
this.config = {
"url": "https://www.tooloop.de",
"allowedDomains": [
"tooloop.de",
"www.tooloop.de"
],
"logPath": "tooloop-kiosk-browser.log"
};
}
}
let config = {
"url": "https://www.tooloop.de",
"allowedDomains": [
"tooloop.de",
"www.tooloop.de"
],
"logPath": "tooloop-kiosk-browser.log"
};
exports.config = config;
exports.load = () => {
console.log(config);
};
+1 -9
View File
@@ -1,10 +1,2 @@
window.addEventListener('DOMContentLoaded', () => {
const replaceText = (selector, text) => {
const element = document.getElementById(selector)
if (element) element.innerText = text
}
for (const type of ['chrome', 'node', 'electron']) {
replaceText(`${type}-version`, process.versions[type])
}
})
});