mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-05-09 18:05:12 +01:00
Walker asked me to commit to main
This commit is contained in:
parent
1a149bfa04
commit
7422ebdb28
@ -283,7 +283,7 @@ export const localServerUrl = import.meta.env.VITE_SERVER_URL ?? `http://${windo
|
|||||||
export const serverUrl = isLocal ? localServerUrl : "";
|
export const serverUrl = isLocal ? localServerUrl : "";
|
||||||
export const apiUrl = isLocal ? serverUrl : "https://api.pokerogue.net";
|
export const apiUrl = isLocal ? serverUrl : "https://api.pokerogue.net";
|
||||||
// used to disable api calls when isLocal is true and a server is not found
|
// used to disable api calls when isLocal is true and a server is not found
|
||||||
export let isLocalServerConnected = false;
|
export let isLocalServerConnected = true;
|
||||||
|
|
||||||
export function setCookie(cName: string, cValue: string): void {
|
export function setCookie(cName: string, cValue: string): void {
|
||||||
const expiration = new Date();
|
const expiration = new Date();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user