From 9295dc2e98b2f4f2cd92f1e4319bd8270c10b608 Mon Sep 17 00:00:00 2001 From: Elias Jansson Date: Tue, 27 Jan 2026 19:49:26 +0100 Subject: [PATCH] Updated deluge again --- Aberwyn/Controllers/MealMenuApiController.cs | 2 +- Aberwyn/Data/DelugeClient.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Aberwyn/Controllers/MealMenuApiController.cs b/Aberwyn/Controllers/MealMenuApiController.cs index b0f7f5d..0f4abde 100644 --- a/Aberwyn/Controllers/MealMenuApiController.cs +++ b/Aberwyn/Controllers/MealMenuApiController.cs @@ -115,7 +115,7 @@ public async Task GetSkolmat(int week, [FromQuery] string sensor { var token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3M2Q5ODIyYzU4ZWI0MjM4OWEyMGQ2MWQ2MWVhOWYzYyIsImlhdCI6MTc0OTE1MzY1MCwiZXhwIjoyMDY0NTEzNjUwfQ.8C_dKm7P1BbFVJKc_wT76YnQqiZxkP9EzrsLbfD0Ml8"; var client = new HttpClient(); - client.BaseAddress = new Uri("http://192.168.1.196:8123/"); + client.BaseAddress = new Uri("https://ha.zcz.se"); client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token); var res = await client.GetAsync($"/api/states/{sensor}"); diff --git a/Aberwyn/Data/DelugeClient.cs b/Aberwyn/Data/DelugeClient.cs index 687f2a2..aca8c79 100644 --- a/Aberwyn/Data/DelugeClient.cs +++ b/Aberwyn/Data/DelugeClient.cs @@ -8,7 +8,7 @@ namespace Aberwyn.Data private readonly HttpClient _http; private readonly string _url; private string _sessionId; - //should fix settings password + //should fix settings passwor public DelugeClient(HttpClient httpClient, string baseUrl = "http://192.168.10.7:8112/json") { _http = httpClient;