All files / src/lib support.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14        12x             208x    
// The support address, one per language. Shown on the sign-in code step, the
// account page and in the footer of every email (openspec: support).
import type { Locale } from '#/paraglide/runtime.js'
 
const SUPPORT_ADDRESS: Record<Locale, string> = {
  fi: 'tuki@kotivalo.app',
  sv: 'support@kotivalo.app',
  en: 'support@kotivalo.app',
}
 
export function supportAddress(locale: Locale): string {
  return SUPPORT_ADDRESS[locale]
}