-
Notifications
You must be signed in to change notification settings - Fork 58
Description
I have a scene that I have downloaded from a content server in order to study and play with. When I checked the developer tools console in my browser I have noticed that it makes some requests to the Catalyst content server and the content server is not configured correctly i.e. the requests are executed on the URL the scene server starts on i.e. http://127.0.0.1:8001:
Also the Catalyst configuration uses that URL:
I have installed and ran a functioning local content server on localhost:80 i.e. performing a GET request on e.g. http://127.0.0.1:80/content/contents/QmZVFx2QLX7J6MNWUGgkwRezoZdqPjn1wyR6j93Zt1G2GJ(which gets the file corresponding to a hash used in the scene) works successfully. So I would want to use http://127.0.0.1:80/ instead of http://127.0.0.1:8001 as my content server.
I have read in the decentraland-cli repository README.md that you can use the CONTENT_URL environment variable or contentUrl key in ~/.dclinfo.
I have to set the content server url with both the environment variable and ~/.dclinfo config file. This is my ~/.dclinfo config:
{
"userId": "525195ce-7db7-486f-8f8b-40c1342c74ae",
"trackStats": true,
"contentUrl": "http://127.0.0.1:80/"
}
and the CONTENT_URL variable is also set:
$ echo $CONTENT_URL
http://127.0.0.1:80/
$ dcl start --skip-build
[HPM] Proxy created: / -> https://peer.decentraland.org/
[HPM] Proxy created: / -> https://peer.decentraland.org/
Preview server is now running
Available on:
http://127.0.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL
http://192.168.2.223:8001?position=26%2C128&SCENE_DEBUG_PANEL
http://172.16.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL
http://172.21.0.1:8001?position=26%2C128&SCENE_DEBUG_PANEL
Details:
Press CTRL+C to exit
Acquiring comms connection.
but the Catalyst configuration still doesn't change on the dcl started scene:
Can I change the Catalyst configuration content server URL on a dcl start ran scene?
Can someone point me into the right direction?


