Coder Social home page Coder Social logo

code: 404 about chat HOT 3 CLOSED

tinode avatar tinode commented on May 22, 2024
code: 404

from chat.

Comments (3)

or-else avatar or-else commented on May 22, 2024 1

Sorry, you responded too quickly :) The correct path is http://127.0.0.1:6060/x/

from chat.

or-else avatar or-else commented on May 22, 2024

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!

from chat.

k0fi avatar k0fi commented on May 22, 2024

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?

from chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.