Skip to content

Commit

Permalink
add clearnet functionality to frontend (#2814)
Browse files Browse the repository at this point in the history
* add clearnet functionality to frontend

* add pattern and add sync db on rpcs

* add domain pattern

* show acme name instead of url if known

* dont blow up if domain not present after delete

* use common name for letsencrypt

* normalize urls

* refactor start-os ui net service

* backend migration and rpcs for serverInfo.host

* fix cors

* implement clearnet for main startos ui

* ability to add and remove tor addresses, including vanity

* add guard to prevent duplicate addresses

* misc bugfixes

* better heuristics for launching UIs

* fix ipv6 mocks

* fix ipv6 display bug

* rewrite url selection for launch ui

---------

Co-authored-by: Aiden McClelland <[email protected]>
  • Loading branch information
MattDHill and dr-bonez authored Jan 22, 2025
1 parent 0a9f1d2 commit 4797973
Show file tree
Hide file tree
Showing 90 changed files with 2,836 additions and 1,201 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ export class MainLoop {
}))
.find((conf) => conf.internal == internalPort)
await effects.bind({
kind: "multi",
id: interfaceId,
internalPort,
preferredExternalPort: torConf?.external || internalPort,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ export class SystemForEmbassy implements System {
return [
port,
{
protocol: null,
secure: null,
preferredExternalPort: Number.parseInt(
torPort || lanPort || String(port),
Expand Down
Loading

0 comments on commit 4797973

Please sign in to comment.