Builded new structure.

Now with remote setup and management Server
more than one Node can be connected
added user auth
This commit is contained in:
Philipp committed 2026-05-21 09:51:07 +02:00
1 parent 4c98d14352
commit aae54167a1
25 files changed
+1942 -52

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
import axios from 'axios';
export const api = axios.create({
baseURL: import.meta.env.VITE_API_URL || 'http://localhost:3000/api',
baseURL: import.meta.env.VITE_API_URL || 'http://localhost:3100/api',
timeout: 15000,
withCredentials: true,
});
const token = window.localStorage.getItem('incusBackupApiToken') || import.meta.env.VITE_API_TOKEN;