landfall 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1156,8 +1156,13 @@ function deployDialog(det, o = {}) {
1156
1156
  { name: "spa", label: "Single-page app (unknown paths serve index.html)", type: "check", value: !!p?.spa },
1157
1157
  ]
1158
1158
  : []),
1159
- { name: "authPassword", label: `Login password (optional, at least ${S.state.rules.minPassword} characters)`, type: "password", hint: "Visitors log in with the user below and this password (HTTP basic auth). Empty: no change; set or remove it later with Password… on the site." },
1160
- { name: "authUser", label: "Login user", value: "admin", placeholder: "admin" },
1159
+ {
1160
+ legend: "Login (optional)",
1161
+ fields: [
1162
+ { name: "authUser", label: "User", value: "admin", placeholder: "admin" },
1163
+ { name: "authPassword", label: `Password (at least ${S.state.rules.minPassword} characters)`, type: "password", hint: "Visitors log in with this user and password (HTTP basic auth). Empty: no change; set or remove it later with Password… on the site." },
1164
+ ],
1165
+ },
1161
1166
  ],
1162
1167
  ok: "Deploy",
1163
1168
  onOk: (v) => {
@@ -2282,8 +2287,13 @@ function traefikView(n) {
2282
2287
  text: "Serves the dashboard on a domain behind a login. Without one it stays reachable through an SSH tunnel only (Open via tunnel).\nRuns lf traefik setup, which reconfigures landfall's Traefik.",
2283
2288
  fields: [
2284
2289
  { name: "domain", label: "Domain", value: x.traefik.dashboard ?? "", placeholder: x.domains[0] ? `traefik.${x.domains[0]}` : "traefik.example.com", hint: x.traefik.dashboard ? "Empty: take the dashboard off its domain." : "Needs an A record pointing at the server." },
2285
- { name: "user", label: "Login user", value: "admin", placeholder: "admin" },
2286
- { name: "password", label: `Login password (at least ${S.state.rules.minPassword} characters)`, type: "password", hint: x.traefik.dashboard ? "Empty: keeps the current one." : "Empty: a generated one, shown in the output." },
2290
+ {
2291
+ legend: "Login",
2292
+ fields: [
2293
+ { name: "user", label: "User", value: "admin", placeholder: "admin" },
2294
+ { name: "password", label: `Password (at least ${S.state.rules.minPassword} characters)`, type: "password", hint: x.traefik.dashboard ? "Empty: keeps the current one." : "Empty: a generated one, shown in the output." },
2295
+ ],
2296
+ },
2287
2297
  ],
2288
2298
  ok: "Apply",
2289
2299
  onOk: (v) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "landfall",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Set up servers and deploy sites behind Traefik with automatic HTTPS",
5
5
  "author": "ph1p <me@ph1p.dev>",
6
6
  "license": "MIT",