feat: allow a public headscale URL separate from the main one
This commit is contained in:
parent
320dab1d4f
commit
712fc28683
4 changed files with 19 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
|
|||
return {
|
||||
keys: preAuthKeys.flatMap(keys => keys.preAuthKeys),
|
||||
users: users.users,
|
||||
server: context.headscaleUrl,
|
||||
server: context.headscalePublicUrl ?? context.headscaleUrl,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue