mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 08:06:17 +00:00
Update AppImage
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@import "tw-animate-css";
|
@import "tw-animate-css";
|
||||||
|
|
||||||
@custom-variant dark (&:is(.dark *));
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--background: oklch(1 0 0);
|
--background: oklch(1 0 0);
|
||||||
--foreground: oklch(0.145 0 0);
|
--foreground: oklch(0.145 0 0);
|
||||||
|
@@ -46,7 +46,8 @@ const fetchSystemData = async (): Promise<SystemData | null> => {
|
|||||||
try {
|
try {
|
||||||
console.log("[v0] Fetching system data from Flask server...")
|
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)
|
console.log("[v0] Fetching from URL:", apiUrl)
|
||||||
|
|
||||||
const response = await fetch(apiUrl, {
|
const response = await fetch(apiUrl, {
|
||||||
@@ -95,7 +96,8 @@ const fetchVMData = async (): Promise<VMData[]> => {
|
|||||||
try {
|
try {
|
||||||
console.log("[v0] Fetching VM data from Flask server...")
|
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)
|
console.log("[v0] Fetching from URL:", apiUrl)
|
||||||
|
|
||||||
const response = await fetch(apiUrl, {
|
const response = await fetch(apiUrl, {
|
||||||
|
Reference in New Issue
Block a user