cleanup unnecessary parts of main desktop process

This commit is contained in:
Arjun Patel
2026-06-08 15:23:49 -07:00
parent b1bce9bb1f
commit 45918378a8
2 changed files with 14 additions and 50 deletions
+5
View File
@@ -0,0 +1,5 @@
# Notes
## CORS for desktop app
In dev: each renderer process has it's own localhost port. The renderer process passes this in the `Origin` header for requests, and expects appropriate ACAO headers in the response.
In packaged app: the renderer process does not include `Origin` header, so expects no extra ACAO headers from the server, otherwise the client would fail to accept responses.