Make it easier to connect to remote server in debug and vice versa

This commit is contained in:
tovjemam 2026-02-03 15:13:06 +01:00
parent 01b2dd8bd3
commit 42e81c981f

View File

@ -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