From f695e874a9c0f8fb3a35b511f29b2eb66c7dc076 Mon Sep 17 00:00:00 2001 From: Daniel Stock Date: Tue, 4 Jun 2024 14:58:52 +0200 Subject: [PATCH] Config-Funktionen in eigenes Modul, fixes #7 --- config.example.json | 4 +- html/config.html | 7 +- html/onboarding.html | 86 +++++++++++-------- js/config.js | 192 ++++++++++++++++++++++++++++++++++++++----- main.js | 180 ++++++---------------------------------- 5 files changed, 251 insertions(+), 218 deletions(-) diff --git a/config.example.json b/config.example.json index 5bbd787..a97696b 100644 --- a/config.example.json +++ b/config.example.json @@ -1,8 +1,6 @@ { - "url": "file:///assets/data/index.html", + "url": "https://www.tooloop.de", "whitelist": [ - "localhost", - "127.0.0.1", "tooloop.de", "www.tooloop.de" ], diff --git a/html/config.html b/html/config.html index 3fcc1df..547cc0c 100644 --- a/html/config.html +++ b/html/config.html @@ -4,7 +4,7 @@ - Config + Settings