mirror of
https://github.com/SrIzan10/rickroll.git
synced 2026-06-06 01:06:53 +00:00
20 lines
511 B
TypeScript
20 lines
511 B
TypeScript
/**
|
|
*
|
|
* @param url {string} the URL of the request
|
|
* @returns {string} the text thing
|
|
*
|
|
*/
|
|
|
|
export default function linkThemeResolver(url: string) {
|
|
switch (url) {
|
|
case 'localhost': {
|
|
return {title: 'Localhost testing!', description: 'Poggers!'}
|
|
}
|
|
case 'tlegacy.ml': {
|
|
return {title: 'TL Legacy', description: 'A virus-free TLauncher alternative'}
|
|
}
|
|
case 'web.srizan.ml': {
|
|
return {title: 'Sr Izan\'s beta website.', description: 'It has a blog, videos and stuff like that!'}
|
|
}
|
|
}
|
|
} |