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
|
||||
#define WS_URL "ws://deadfish.cz:11200/ws"
|
||||
#else
|
||||
#ifndef NDEBUG
|
||||
#define USE_LOCAL_SERVER
|
||||
#endif
|
||||
|
||||
#ifdef USE_LOCAL_SERVER
|
||||
#define WS_URL "ws://127.0.0.1:11200/ws"
|
||||
#else
|
||||
#define WS_URL "ws://deadfish.cz:11200/ws"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user