Make it easier to connect to remote server in debug and vice versa
This commit is contained in:
parent
01b2dd8bd3
commit
42e81c981f
@ -160,10 +160,14 @@ static void PollEvents()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NDEBUG
|
#ifndef NDEBUG
|
||||||
#define WS_URL "ws://deadfish.cz:11200/ws"
|
#define USE_LOCAL_SERVER
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_LOCAL_SERVER
|
||||||
#define WS_URL "ws://127.0.0.1:11200/ws"
|
#define WS_URL "ws://127.0.0.1:11200/ws"
|
||||||
|
#else
|
||||||
|
#define WS_URL "ws://deadfish.cz:11200/ws"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user