waveterm/frontend/app
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
..
asset Make magnify icon always visible, transition from magnify to minimize (#197) 2024-08-05 16:13:26 -07:00
block implement a viewmodel keydown handler 2024-08-19 18:41:47 -07:00
element Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
hook Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
modals Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
store Add authkey header for requests to the backend (#256) 2024-08-21 15:04:39 -07:00
tab Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
view Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
workspace implement defaultwidgets 2024-08-19 17:21:44 -07:00
app.less modals component and model and TOS modal (#164) 2024-07-30 11:44:19 -07:00
app.tsx implement cmd+t 2024-08-19 18:28:28 -07:00
appkey.ts cmd:n and cmd:t 2024-08-19 22:39:52 -07:00
mixins.less directory preview fixes (#130) 2024-07-25 21:14:21 -07:00
reset.less Update copyright indicators on a bunch of files (#255) 2024-08-20 17:01:29 -07:00
theme.less about modal (#244) 2024-08-19 15:49:40 -07:00