set a default token

pull/829/head
Ryan Tharp 5 years ago
parent 0bf7dfab6a
commit c83201ee9c

@ -10,6 +10,8 @@
'', // no pubkey needed
window.getDefaultFileServer()
);
// use the anonymous access token
window.tokenlessFileServerAdnAPI.token = 'loki';
window.tokenlessFileServerAdnAPI.pubKey = window.Signal.Crypto.base64ToArrayBuffer(
LokiFileServerAPI.secureRpcPubKey
);

Loading…
Cancel
Save