17 lines
471 B
TypeScript
17 lines
471 B
TypeScript
|
|
export const useLocalServer = false;
|
||
|
|
export const isAlpha = true;
|
||
|
|
|
||
|
|
export type Server = {
|
||
|
|
serverAdress: string;
|
||
|
|
wsServerAdress: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
export const server: Server = useLocalServer ? {
|
||
|
|
serverAdress: "http://localhost:5005",
|
||
|
|
wsServerAdress: "ws://localhost:5005",
|
||
|
|
} : {
|
||
|
|
serverAdress: "https://mancala.segin.one",
|
||
|
|
wsServerAdress: "wss://mancala.segin.one",
|
||
|
|
};
|
||
|
|
|
||
|
|
export const RTMT_WS_PING_INTERVAL = 1000, RTMT_WS_PING_INTERVAL_BUFFER_TIME = 2000;
|