• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / blurts-server / 388e92f4-cd5c-40e4-8293-01ba89b4230b

pending completion
388e92f4-cd5c-40e4-8293-01ba89b4230b

push

circleci

Pontoon
Pontoon: Update Interlingua (ia) localization of Firefox Monitor Website

282 of 1768 branches covered (15.95%)

Branch coverage included in aggregate %.

959 of 4670 relevant lines covered (20.54%)

3.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/routes/home.js
1
'use strict'
2

3
const express = require('express')
×
4
const bodyParser = require('body-parser')
×
5
const csrf = require('csurf')
×
6

7
const {
8
  home, getAboutPage, getAllBreaches, getBentoStrings,
9
  getSecurityTips, notFound, addEmailToWaitlist, testSentry
10
} = require('../controllers/home')
×
11
const { getIpLocation } = require('../controllers/ip-location')
×
12

13
const { getShareUTMs, requireSessionUser } = require('../middleware')
×
14

15
const csrfProtection = csrf()
×
16
const jsonParser = bodyParser.json()
×
17
const router = express.Router()
×
18

19
router.get('/', csrfProtection, home)
×
20
router.get('/share/orange', csrfProtection, getShareUTMs, home)
×
21
router.get('/share/purple', csrfProtection, getShareUTMs, home)
×
22
router.get('/share/blue', csrfProtection, getShareUTMs, home)
×
23
router.get('/share/:breach', csrfProtection, getShareUTMs, home)
×
24
router.get('/share/', csrfProtection, getShareUTMs, home)
×
25
router.get('/about', getAboutPage)
×
26
router.get('/breaches', getAllBreaches)
×
27
router.get('/security-tips', getSecurityTips)
×
28
router.get('/getBentoStrings', getBentoStrings)
×
29
router.post('/join-waitlist', jsonParser, requireSessionUser, addEmailToWaitlist)
×
30
router.get('/iplocation', getIpLocation)
×
31
router.get('/test-sentry', requireSessionUser, testSentry)
×
32
router.use(notFound)
×
33

34
module.exports = router
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc