Dynamically define access key
This commit is contained in:
parent
a09c1c3d79
commit
6d13907588
5 changed files with 10 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ pub async fn start() {
|
|||
let mut socket_secure = router_secure
|
||||
.add_socket(
|
||||
VirtualPort::new(1, 10),
|
||||
Secure("6f599f81", SECURE_SERVER_ACCOUNT.clone()),
|
||||
Secure(RNEX_ACCESS_KEY, SECURE_SERVER_ACCOUNT.clone()),
|
||||
)
|
||||
.await
|
||||
.expect("unable to add socket");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue