import 'WebSocketService.dart'; class C { static String BASE_URL = "http://elysia.krcia.top:4560/api"; static String BASE_WS_URL="ws://elysia.krcia.top:4560"; static const String HIVE_CACHE_FETCH_FOLLOW = "FETCH_FOLLOW"; static const String HIVE_CACHE_CACHE_LIST = "CACHE_LIST"; static bool PUSH_STATUS=true; static late WebSocketService socket; static Map TOKEN = {}; static dynamic PROFILE={}; static final String NOTIFY_MESSAGE="NEW_MESSAGE"; static final String NOTIFY_VERSION="NEW_VERSION"; static void init(String profile){ switch(profile){ case 'development':{ BASE_URL = "http://192.168.1.2:4560/api"; BASE_WS_URL="ws:/192.168.1.2:4560"; } case 'release':{ BASE_URL = "https://elysia.krcia.top/api"; BASE_WS_URL="wss://elysia.krcia.top"; } } } }