16 lines
385 B
TypeScript
16 lines
385 B
TypeScript
|
|
export const useLocalServer = false;
|
||
|
|
|
||
|
|
export type Server = {
|
||
|
|
serverAdress: string;
|
||
|
|
wsServerAdress: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
export const server: Server = useLocalServer ? {
|
||
|
|
serverAdress: "http://localhost:5000",
|
||
|
|
wsServerAdress: "ws://localhost:5000",
|
||
|
|
} : {
|
||
|
|
serverAdress: "https://segin.one/mancala-backend-beta",
|
||
|
|
wsServerAdress: "wss://segin.one/mancala-backend-beta/",
|
||
|
|
};
|
||
|
|
|