diff --git a/config.example.json b/config.example.json index 4649d2e..5bbd787 100644 --- a/config.example.json +++ b/config.example.json @@ -1,6 +1,6 @@ { "url": "file:///assets/data/index.html", - "allowedDomains": [ + "whitelist": [ "localhost", "127.0.0.1", "tooloop.de", diff --git a/html/config.html b/html/config.html index a8463b5..3fcc1df 100644 --- a/html/config.html +++ b/html/config.html @@ -15,12 +15,6 @@ padding: 1rem; } - h1 { - font-weight: 500; - font-size: 1.333rem; - margin-bottom: 2em; - } - label { color: #ccc; text-align: right; @@ -36,7 +30,7 @@ border-radius: 0.25rem; background-color: rgba(255, 255, 255, 0.05); } - + input, textarea { font-family: monospace; @@ -46,19 +40,23 @@ border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0.25rem; } - + + textarea#whitelist { + height: 5.25em; + } + textarea:focus, input:focus { outline: none; } - + .buttons { grid-column: 2; display: flex; gap: 1rem; margin-top: 2rem; } - + button { background-color: hsl(0, 0%, 50%); /* border: 1px solid rgba(255, 255, 255, 0.12); */ @@ -72,7 +70,6 @@
-