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

mozilla / blurts-server / 45ba77d7-fd3c-4064-90eb-157d6aa10611

pending completion
45ba77d7-fd3c-4064-90eb-157d6aa10611

push

circleci

Robert Helmer
update the queue adr

282 of 1631 branches covered (17.29%)

Branch coverage included in aggregate %.

959 of 4375 relevant lines covered (21.92%)

3.65 hits per line

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

0.0
/src/controllers/landing.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
import { guestLayout } from '../views/guestLayout.js'
6
import { landing } from '../views/partials/landing.js'
7

8
function landingPage (req, res) {
9
  const data = {
×
10
    partial: landing,
11
    nonce: res.locals.nonce
12
  }
13

14
  // Backward-compatibility with Monitor V1, for SEO.
15
  if (req.query.breach) {
×
16
    const breach = encodeURIComponent(req.query.breach)
×
17
    return res.redirect(`/breach-details/${breach}`)
×
18
  }
19

20
  res.send(guestLayout(data))
×
21
}
22

23
export { landingPage }
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