Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed May 17, 2024
1 parent c5a78ea commit 70a7e27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/p2p-relay/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ TARGET_DIR=$(cargo metadata | jq -r .target_directory)
cargo zigbuild --target aarch64-unknown-linux-musl --release

scp "$TARGET_DIR/aarch64-unknown-linux-musl/release/sd-p2p-relay" ec2-user@$SERVER:/home/ec2-user/sd-p2p-relay

# ssh ec2-user@$SERVER
# ./sd-p2p-relay init
# Enter the `P2P_SECRET` secret env var from Vercel
# ./sd-p2p-relay
4 changes: 2 additions & 2 deletions core/src/p2p/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use axum::routing::IntoMakeService;

use sd_p2p::{
flume::{bounded, Receiver},
HookId, Libp2pPeerId, Mdns, Peer, QuicTransport, RelayServerEntry, RemoteIdentity,
UnicastStream, P2P,
hooks::{Libp2pPeerId, Mdns, QuicTransport, RelayServerEntry},
HookId, Peer, RemoteIdentity, UnicastStream, P2P,
};
use sd_p2p_tunnel::Tunnel;
use serde_json::json;
Expand Down

0 comments on commit 70a7e27

Please sign in to comment.