mirror of
https://github.com/elisescu/tty-share
synced 2024-11-11 13:10:32 +00:00
906f225899
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.
11 lines
366 B
Markdown
11 lines
366 B
Markdown
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
|