web/src/utils/config.ts

13 lines · 431 bytes

 1function cleanUrl(inputString: string) {
 2  return inputString.replace(/['";]+/g, '').trim();
 3}
 4
 5export const site = cleanUrl(
 6  import.meta.env.SITE_URL || 'https://awesome-privacy.xyz',
 7);
 8
 9export const title =
10  'Awesome Privacy | Compare privacy-respecting alternatives to popular software & services';
11
12export const description =
13  'Your guide to escaping big tech, protecting your privacy, and reclaiming your digital life.';