Added dashboard page layout & sites overview

This commit is contained in:
2026-04-05 17:55:58 +02:00
parent 7bb7454d7f
commit a6f60a5a38
38 changed files with 2687 additions and 111 deletions
+7
View File
@@ -0,0 +1,7 @@
export const API_BASE_URL = '/api/v1';
export const makeApiUrl = (endpoint: string) => {
const base = API_BASE_URL.endsWith('/') ? API_BASE_URL.slice(0, -1) : API_BASE_URL;
const path = endpoint.startsWith('/') ? endpoint : `/${endpoint}`;
return `${base}${path}`;
};