How to hide the Api Key?

226 views
Skip to first unread message

French Clifford Dacion

unread,
May 22, 2016, 10:11:51 PM5/22/16
to PeerJS
is there a way to hide the API key from the client?

When I create a new peer instance using the following code : 
var peer = new Peer('pick-an-id', {key: 'myapikey'}); 

the key becomes visible when I inspect element the browser. is there a way to hide this API key?
Reply all
Reply to author
Forward
0 new messages