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 + } +} 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