2
0
mirror of https://github.com/elisescu/tty-share synced 2024-11-15 18:13:58 +00:00
tty-share/doc/http_routes.md
Vasile Popescu 906f225899 Refactor the frontend structure
Change the Makefile and webpack config to reflect the new structure of
where we keep the frontend generated files.

Use the 404 static pages when requests are made to paths not found.

Add a small doc describing the available http routes.
2018-05-19 15:16:11 +02:00

366 B

Routes

These are the routes the server will listen to:

  • / - the main page which probably will be a redirect
  • /ws/<session id> - will serve the websockets session
  • /s/<session id> - will serve the tty-receiver webpage, which will make some further requests for the resources
  • /static/ - serving the static resources: 404 page, js and css files