From 961a85dd0877432f5ce5fe90da40d0a18852682e Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:29:46 +0800 Subject: [PATCH 1/2] remove mailto test --- domains/william.json | 1 - tests/records.test.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/domains/william.json b/domains/william.json index 6950dc060..fcec296e5 100644 --- a/domains/william.json +++ b/domains/william.json @@ -8,7 +8,6 @@ }, "redirect_config": { "custom_paths": { - "/email": "mailto:will@hrsn.dev", "/github": "https://github.com/wdhdev" }, "redirect_paths": true diff --git a/tests/records.test.js b/tests/records.test.js index 13aa8e1ec..4d03a0e75 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -186,10 +186,10 @@ function validateRecordValues(t, data, file) { data.record.URL !== customRedirectURL, `${urlMessage} should be different from the URL record at index ${idx}` ); - // t.true( - // customRedirectURL.startsWith("http://") || customRedirectURL.startsWith("https://"), - // `${urlMessage} must start with http:// or https:// at index ${idx}` - // ); + t.true( + customRedirectURL.startsWith("http://") || customRedirectURL.startsWith("https://"), + `${urlMessage} must start with http:// or https:// at index ${idx}` + ); t.notThrows(() => new URL(customRedirectURL), `${urlMessage} contains an invalid URL at index ${idx}`); // Check for self-referencing redirects From 6c595ec949d992bbfd0cac883efb375ab79c169f Mon Sep 17 00:00:00 2001 From: Luihh Date: Mon, 13 Jan 2025 00:43:35 -0500 Subject: [PATCH 2/2] Create l.luihh.json --- domains/l.luihh.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 domains/l.luihh.json diff --git a/domains/l.luihh.json b/domains/l.luihh.json new file mode 100644 index 000000000..63dcf8817 --- /dev/null +++ b/domains/l.luihh.json @@ -0,0 +1,20 @@ +{ + "owner": { + "username": "luihh", + "email": "luihh@proton.me" + }, + "record": { + "URL": "https://luihh.is-a.dev" + }, + "redirect_config": { + "custom_paths": { + "/github": "https://github.com/luihh", + "/twitch": "https://www.twitch.tv/luihh23", + "/youtube": "https://www.youtube.com/@Luihh", + "/discord": "https://discord.com/users/481268875586174986", + "/steam": "https://steamcommunity.com/id/Luihh23", + "/paypal": "https://www.paypal.com/paypalme/luihhdev" + }, + "redirect_paths": true + } +}