Closed k0fi closed 7 years ago
Hi,
Static files are mounted at the /x/, i.e. the correct path is http://localhost:6060/x/
I'll make it more clear in the docs.
Thanks!
Thanks for the tip, but I still get 404:
GET http://127.0.0.1:6060/x/example-react-js/ 404 (Not Found)
or:
GET http://localhost:6060/x/example-react-js/ 404 (Not Found)
While the server is running:
me@pc:~/go$ /home/me/go/bin/server -config=/home/me/go/src/github.com/tinode/chat/server/tinode.conf -static_data=/home/me/Desktop/example-react-js/
2017/09/25 18:39:36 Server v0.13: pid=9248 started with processes: 8
2017/09/25 18:39:36 Using config from: '/home/me/go/src/github.com/tinode/chat/server/tinode.conf'
2017/09/25 18:39:36 Running as a standalone server.
2017/09/25 18:39:36 Serving static content from '/home/me/Desktop/example-react-js/'
2017/09/25 18:39:36 Listening for client HTTP connections on [:6060]
What could be wrong in my installation?
Sorry, you responded too quickly :) The correct path is http://127.0.0.1:6060/x/
Hello, I followed the instructions but could not see the web interface. I run
/home/me/go/bin/server -config=/home/me/go/src/github.com/tinode/chat/server/tinode.conf -static_data=/home/me/Desktop/example-react-js/
But when I visit:
http://localhost:6060/home/me/Desktop/example-react-js/
I get:
I have extracted the react files and to
example-react-js
and copiedtinode.js
there.The server output in the terminal:
Any idea why this error happens?