Skip to content

Commit

Permalink
fix(frontend): dns clarity & fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thewander02 committed Oct 16, 2024
1 parent c7d66a7 commit 7bd9510
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/frontend/src/pages/servers/manage/[id]/options/network.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>
<div class="mb-1 mt-4 flex justify-end gap-4">
<Button transparent @click="newAllocationModal?.hide()"> Cancel </Button>
<Button color="primary" @click="addNewAllocation" :disabled="!newAllocationName">
<Button color="primary" :disabled="!newAllocationName" @click="addNewAllocation">
<PlusIcon /> Create allocation
</Button>
</div>
Expand Down Expand Up @@ -65,8 +65,10 @@
<div class="card flex flex-col gap-4">
<div class="flex w-full flex-row items-center justify-between">
<label for="username-field" class="flex flex-col gap-2">
<span class="text-lg font-bold text-contrast">DNS records</span>
<span> Use your personal domain to connect to your server. </span>
<span class="text-lg font-bold text-contrast">Generated DNS records</span>
<span>
Setup your personal domain to connect to your server via custom DNS records.
</span>
</label>
<Button @click="exportDnsRecords"> Export DNS records </Button>
Expand Down Expand Up @@ -361,7 +363,7 @@ const dnsRecords = computed(() => {
{
type: "SRV",
name: `_minecraft._tcp.${userDomain.value}`,
content: `0 0 ${data.value?.net?.port} ${userDomain.value}`,
content: `0 10 ${data.value?.net?.port} ${data.value?.net?.ip}`,
},
];
});
Expand Down

0 comments on commit 7bd9510

Please sign in to comment.