Deletes old project

This commit is contained in:
Rune Harlyk
2024-04-25 21:57:34 +02:00
committed by Rune Harlyk
parent 0b4fe8a0ef
commit 027d5eebc7
189 changed files with 1341 additions and 7239 deletions
+4 -5
View File
@@ -1,10 +1,9 @@
export const hostname = window.location.hostname;
export const hostname = 'localhost'; //window.location.hostname;
export const isSecure = window.location.protocol === 'https:';
export const isSecure = true; // window.location.protocol === 'https:';
export const location = import.meta.env.VITE_API_URL.replace('hostname', hostname);
export const location = 'localhost:5173'; //window.location; //import.meta.env.VITE_API_URL.replace('hostname', hostname);
const socketScheme = isSecure ? 'wss://' : 'ws://';
export const socketLocation =
socketScheme + import.meta.env.VITE_SOCKET_URL.replace('hostname', hostname);
export const socketLocation = socketScheme + location; // import.meta.env.VITE_SOCKET_URL.replace('hostname', hostname);