2
0
mirror of https://github.com/elisescu/tty-share synced 2024-11-15 18:13:58 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
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
Vasile Popescu
f8e90e0e04 Move the tty-receiver frontend inside a folder 2018-05-12 18:53:12 +02:00
Vasile Popescu
4a8a806193 Add some static pages
One used for 404 errors, and the other one being a placeholder of the
invalid session case, when the session ID is not recognised.
2018-05-12 18:53:12 +02:00
Vasile Popescu
602259cdd8 Add support for TLS/HTTPS on both the client and the server
At the moment the server side doesn't support SSL for the web end.
The tty_sender supports TLS for the server connection, which is
specified via a command line argument.

The websockets connection on the frontend side is using an address based
on the window.location.protocol (ws:// or wss://)
2018-04-13 19:59:36 +02:00
Vasile Popescu
caaf694b6c Bundle the frontend resources inside the server binary
Use go-bindata to bundle all the frontend server resources inside the
server binary, so it's easier to re-distributed.
2018-04-05 23:16:37 +02:00
Vasile Popescu
9f0a1474f2 Initial commit 2018-04-05 20:47:19 +02:00