33
44APP_CONFIG = {
55 "CHAT_SERVICE" : {
6- "BASE_URL" : os .getenv ("CHAT_SERVICE_BASE_URL" ) or "https://chat-api.switch.pe " ,
6+ "BASE_URL" : os .getenv ("CHAT_SERVICE_BASE_URL" ) or "https://chat-api.switchx.org " ,
77 "WS_URL" : os .getenv ("CHAT_SERVICE_WS_URL" )
8- or "wss://chat-api.switch.pe /v1/websocket/message/ws" ,
8+ or "wss://chat-api.switchx.org /v1/websocket/message/ws" ,
99 },
1010 "BOT_SERVICE" : {
11- "BASE_URL" : os .getenv ("BOT_SERVICE_BASE_URL" ) or "https://chat-api.switch.pe " ,
11+ "BASE_URL" : os .getenv ("BOT_SERVICE_BASE_URL" ) or "https://chat-api.switchx.org " ,
1212 },
1313 "AUTH_SERVICE" : {
1414 "BASE_URL" : os .getenv ("AUTH_SERVICE_BASE_URL" )
15- or "https://gateway.switch.pe /user-service" ,
15+ or "https://gateway.switchx.org /user-service" ,
1616 },
1717 "AIRDROP_SERVICE" : {
1818 "BASE_URL" : os .getenv ("AIRDROP_SERVICE_BASE_URL" )
19- or "https://gateway.switch.pe /airdrop-service"
19+ or "https://gateway.switchx.org /airdrop-service"
2020 },
2121 "COMMUNITY_SERVICE" : {
2222 "BASE_URL" : os .getenv ("COMMUNITY_SERVICE_BASE_URL" )
23- or "https://gateway.switch.pe /community-service" ,
23+ or "https://gateway.switchx.org /community-service" ,
2424 "WS_URL" : os .getenv ("COMMUNITY_SERVICE_WS_URL" )
25- or "wss://gateway.switch.pe /community-service/v1/websocket/community/ws" ,
25+ or "wss://gateway.switchx.org /community-service/v1/websocket/community/ws" ,
2626 },
2727 "BACKBLAZE" : {
2828 "BUCKET_ID" : os .getenv ("BACKBLAZE_BUCKET_ID" ),
@@ -38,29 +38,29 @@ def get_config():
3838
3939def reload_config ():
4040 APP_CONFIG ["CHAT_SERVICE" ]["BASE_URL" ] = (
41- os .getenv ("CHAT_SERVICE_BASE_URL" ) or "https://chat-api.switch.pe "
41+ os .getenv ("CHAT_SERVICE_BASE_URL" ) or "https://chat-api.switchx.org "
4242 )
4343 APP_CONFIG ["CHAT_SERVICE" ]["WS_URL" ] = (
4444 os .getenv ("CHAT_SERVICE_WS_URL" )
45- or "wss://chat-api.switch.pe /v1/websocket/message/ws"
45+ or "wss://chat-api.switchx.org /v1/websocket/message/ws"
4646 )
4747 APP_CONFIG ["BOT_SERVICE" ]["BASE_URL" ] = (
48- os .getenv ("BOT_SERVICE_BASE_URL" ) or "https://chat-api.switch.pe "
48+ os .getenv ("BOT_SERVICE_BASE_URL" ) or "https://chat-api.switchx.org "
4949 )
5050 APP_CONFIG ["AUTH_SERVICE" ]["BASE_URL" ] = (
51- os .getenv ("AUTH_SERVICE_BASE_URL" ) or "https://gateway.switch.pe /user-service"
51+ os .getenv ("AUTH_SERVICE_BASE_URL" ) or "https://gateway.switchx.org /user-service"
5252 )
5353 APP_CONFIG ["COMMUNITY_SERVICE" ]["BASE_URL" ] = (
5454 os .getenv ("COMMUNITY_SERVICE_BASE_URL" )
55- or "https://gateway.switch.pe /community-service"
55+ or "https://gateway.switchx.org /community-service"
5656 )
5757 APP_CONFIG ["COMMUNITY_SERVICE" ]["WS_URL" ] = (
5858 os .getenv ("COMMUNITY_SERVICE_WS_URL" )
59- or "wss://gateway.switch.pe /community-service/v1/websocket/community/ws"
59+ or "wss://gateway.switchx.org /community-service/v1/websocket/community/ws"
6060 )
6161 APP_CONFIG ["AIRDROP_SERVICE" ]["BASE_URL" ] = (
6262 os .getenv ("AIRDROP_SERVICE_BASE_URL" )
63- or "https://gateway.switch.pe /airdrop-service"
63+ or "https://gateway.switchx.org /airdrop-service"
6464 )
6565
6666
0 commit comments