fix: remove older references to magic_dns via usernames

This commit is contained in:
Aarnav Tale 2024-10-10 10:03:21 -04:00
parent 29d91785fb
commit dd479d4117
No known key found for this signature in database
4 changed files with 14 additions and 92 deletions

View file

@ -1,11 +1,11 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
import { ActionFunctionArgs, type LoaderFunctionArgs } from '@remix-run/node'
import { ActionFunctionArgs, LoaderFunctionArgs } from '@remix-run/node'
import { Link, useLoaderData } from '@remix-run/react'
import Attribute from '~/components/Attribute'
import Card from '~/components/Card'
import StatusCircle from '~/components/StatusCircle'
import { type Machine, Route, User } from '~/types'
import { Machine, Route, User } from '~/types'
import { cn } from '~/utils/cn'
import { loadContext } from '~/utils/config/headplane'
import { loadConfig } from '~/utils/config/headscale'
@ -141,7 +141,7 @@ export default function Page() {
<Attribute
isCopyable
name="Domain"
value={`${machine.givenName}.${machine.user.name}.${magic}`}
value={`${machine.givenName}.${magic}`}
/>
)
: undefined}