Update AppImage

This commit is contained in:
MacRimi
2025-10-01 18:08:31 +02:00
parent e7214ad8df
commit c41da47a48
2 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);

View File

@@ -46,7 +46,8 @@ const fetchSystemData = async (): Promise<SystemData | null> => {
try {
console.log("[v0] Fetching system data from Flask server...")
const apiUrl = "/api/system"
const baseUrl = typeof window !== "undefined" ? `${window.location.protocol}//${window.location.hostname}:8008` : ""
const apiUrl = `${baseUrl}/api/system`
console.log("[v0] Fetching from URL:", apiUrl)
const response = await fetch(apiUrl, {
@@ -95,7 +96,8 @@ const fetchVMData = async (): Promise<VMData[]> => {
try {
console.log("[v0] Fetching VM data from Flask server...")
const apiUrl = "/api/vms"
const baseUrl = typeof window !== "undefined" ? `${window.location.protocol}//${window.location.hostname}:8008` : ""
const apiUrl = `${baseUrl}/api/vms`
console.log("[v0] Fetching from URL:", apiUrl)
const response = await fetch(apiUrl, {