Next steps after installing Client code #5699
-
I have Hubs running in the cloud, and now want to develop some local client code.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The steps in this repo may help you. These would be the backend services for hubs. |
Beta Was this translation helpful? Give feedback.
-
I found what the missing step is. The local client tried to load assets through the hubs.local:8080 domain. Npm run start has no services running on that Domain. You HAVE to add "127.0.0.1 hubs.local" to your hosts file. Secondly you should add localhost and hubs.local to the cors list. how to here: #3907 None of this is documented on https://hubs.mozilla.com/docs/hubs-cloud-custom-clients.html#run-your-custom-client |
Beta Was this translation helpful? Give feedback.
I found what the missing step is. The local client tried to load assets through the hubs.local:8080 domain. Npm run start has no services running on that Domain. You HAVE to add "127.0.0.1 hubs.local" to your hosts file.
Secondly you should add localhost and hubs.local to the cors list. how to here: #3907
None of this is documented on https://hubs.mozilla.com/docs/hubs-cloud-custom-clients.html#run-your-custom-client