How does PubNub bind your account to the JavaScript API?

PubNub seems to be linking your account by domain. I can not find the final answer in the support or API.

Due to the lack of use of a publication, subscription, or secret key from JavaScript, it seems that your site domain is what is connected. That's for sure?

I am not going to play with him, but that would be bad because it would mean that I push my code to the server to check.

I need to know about this because I need a way to test my web application using a local host.

+3
source share
1 answer

PubNub . , PubNub. , PubNub . Anywhere Anywhere. localhost . , - html5 :// . ?

Mac:

file:///Users/stephen/index.html

Ubuntu:

file:///home/stephen/index.html

Windows XP:

file:///C:/Documents and Settings/stephen/index.html

Windows 7:

file:///C:/Users/stephen/index.html
+3

All Articles