Merge pull request #116 from nklmantey/incorrect-domain-verification-records
Incorrect domain verification records
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "plunk",
|
"name": "plunk",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "agpl-3.0",
|
"license": "agpl-3.0",
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
|
|||||||
@@ -123,6 +123,9 @@ export default function Index() {
|
|||||||
window.location.reload();
|
window.location.reload();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const domain = activeProject.email?.split("@")[1] ?? "";
|
||||||
|
const subdomain = domain.split(".").length > 2 ? domain.split(".")[0] : "";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Dashboard>
|
<Dashboard>
|
||||||
@@ -219,11 +222,11 @@ export default function Index() {
|
|||||||
<div
|
<div
|
||||||
className={"flex cursor-pointer items-center gap-3"}
|
className={"flex cursor-pointer items-center gap-3"}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
void navigator.clipboard.writeText(`${token}._domainkey`);
|
void navigator.clipboard.writeText(`${token}._domainkey${subdomain ? '.' + subdomain : ''}`);
|
||||||
toast.success("Copied key to clipboard");
|
toast.success("Copied key to clipboard");
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<p className={"font-mono text-sm"}>{token}._domainkey</p>
|
<p className={"font-mono text-sm"}>{token}._domainkey{subdomain ? '.' + subdomain : ''}</p>
|
||||||
<Copy size={14} />
|
<Copy size={14} />
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user