New Ingress server!
This commit is contained in:
parent
ec252a9ffe
commit
ff0831c89d
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
let args = Args::parse();
|
||||
let server = args
|
||||
.server
|
||||
.unwrap_or("wss://e4mc.skyevg.systems".to_string());
|
||||
.unwrap_or("wss://ingress.e4mc.link".to_string());
|
||||
let (ws_conn, _) = connect_async(server).await?;
|
||||
let (send, recv) = ws_conn.split();
|
||||
let (sender, receiver) = tokio::sync::mpsc::unbounded_channel();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import WebSocket from 'ws';
|
||||
import net from 'net';
|
||||
|
||||
const DEFAULT_REMOTE_SERVER = 'wss://e4mc.skyevg.systems';
|
||||
const DEFAULT_REMOTE_SERVER = 'wss://ingress.e4mc.link';
|
||||
const DEFAULT_TCP_ADDRESS = 'localhost';
|
||||
const DEFAULT_TCP_PORT = 25565;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ data class DomainAssignedMessage(val DomainAssigned: String)
|
|||
data class ChannelOpenMessage(val ChannelOpen: List<Any>)
|
||||
data class ChannelClosedMessage(val ChannelClosed: Number)
|
||||
|
||||
class E4mcRelayHandler: WebSocketClient(URI("wss://e4mc.skyevg.systems")) {
|
||||
class E4mcRelayHandler: WebSocketClient(URI("wss://ingress.e4mc.link")) {
|
||||
private val gson = Gson()
|
||||
private val childChannels = mutableMapOf<Int, LocalChannel>()
|
||||
private val messageQueue = mutableMapOf<Int, ArrayBlockingQueue<ByteBuffer>>()
|
||||
|
|
Loading…
Reference in a new issue