data endpoint for entity 90008 (aka. a website)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: update webpage title

dusk 46d627a4 c3b26521

+9 -9
+9 -9
src/lib/getTitle.ts
··· 1 1 const getTitle = (path: string) => { 2 - let sl = path.split('/') 3 - sl = sl.splice(1) 4 - if (sl.length > 2) { 5 - sl[0] = sl[0][0] 6 - } 7 - const newPath = sl.join('/') 8 - return '[gazesystems /' + newPath + ']$' 9 - } 2 + let sl = path.split('/'); 3 + sl = sl.splice(1); 4 + if (sl.length > 2) { 5 + sl[0] = sl[0][0]; 6 + } 7 + const newPath = sl.join('/'); 8 + return '//⋆☀︎. /' + newPath; 9 + }; 10 10 11 - export default getTitle; 11 + export default getTitle;