Migrace sestavování klienta na Vite

This commit is contained in:
2024-12-11 22:54:57 +01:00
parent b0d8a1a830
commit 18f2b72133
16 changed files with 5786 additions and 11889 deletions

View File

@@ -1,15 +1,3 @@
/**
* Vrátí kořenovou URL serveru na základě aktuálního prostředí (vývojovou či produkční).
*
* @returns kořenová URL serveru
*/
export const getBaseUrl = (): string => {
if (process.env.PUBLIC_URL) {
return process.env.PUBLIC_URL;
}
return 'http://127.0.0.1:3001';
}
const TOKEN_KEY = "token";
/**