From 5994cf4991fff09a854be5b9cf7828ca107482a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 16 Feb 2026 00:59:54 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ui:=20fixes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - devServer websocket (hostname) - api.creds iff creds_key unset --- ui/src/lib/api.ts | 2 +- ui/vue.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/lib/api.ts b/ui/src/lib/api.ts index 9b61bee..01fbbdd 100644 --- a/ui/src/lib/api.ts +++ b/ui/src/lib/api.ts @@ -46,7 +46,7 @@ export class API { } public static get creds(): AxiosBasicCredentials { - const stored_auth = JSON.parse(localStorage.getItem(this.creds_key) ?? ""); + const stored_auth = JSON.parse(localStorage.getItem(this.creds_key) ?? "null"); if ( stored_auth !== null && Object.hasOwn(stored_auth, "username") && diff --git a/ui/vue.config.js b/ui/vue.config.js index 52934c3..40d7f21 100644 --- a/ui/vue.config.js +++ b/ui/vue.config.js @@ -5,7 +5,7 @@ const webpack = require("webpack"); module.exports = defineConfig({ transpileDependencies: true, devServer: { - host: "0.0.0.0", + host: "127.0.0.1", }, pages: { index: {