mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-14 16:25:31 +00:00
Create l.luihh.is-a.dev
Create l.luihh.is-a.dev
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,6 @@
|
||||
},
|
||||
"redirect_config": {
|
||||
"custom_paths": {
|
||||
"/email": "mailto:will@hrsn.dev",
|
||||
"/github": "https://github.com/wdhdev"
|
||||
},
|
||||
"redirect_paths": true
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user