waveterm/cmd
Evan Simkowitz e527e2ab77
Add authkey header for requests to the backend (#256)
With this PR, Electron will generate a new authorization key that the Go
backend will look for in any incoming requests. The Electron backend
will inject this header with all requests to the backend to ensure no
additional work is required on the frontend.

This also adds a `fetchutil` abstraction that will use the Electron
`net` module when calls are made from the Electron backend to the Go
backend. When using the `node:fetch` module, Electron can't inject
headers to requests. The Electron `net` module is also faster than the
Node module.

This also breaks out platform functions in emain into their own file so
other emain modules can import them.
2024-08-21 15:04:39 -07:00
..
generate checkpoint on domain sockets + update background colors + transparency (#160) 2024-07-26 13:30:11 -07:00
generatewshclient wsh routing + proxy (#224) 2024-08-13 16:52:35 -07:00
server Add authkey header for requests to the backend (#256) 2024-08-21 15:04:39 -07:00
test working on vdom implementation, other fixes (#136) 2024-07-23 13:16:53 -07:00
wsh Add flag for specifying a new node as magnified on insert (#253) 2024-08-20 20:14:14 -07:00