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

mozilla / blurts-server / #11898

pending completion
#11898

push

circleci

web-flow
Merge pull request #2770 from mozilla/license

Add license headers in source files

282 of 1138 branches covered (24.78%)

Branch coverage included in aggregate %.

959 of 3049 relevant lines covered (31.45%)

2.55 hits per line

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

0.0
/src/routes/user.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 { Router } from 'express'
6

7
// import { asyncMiddleware } from '../middleware/util.js'
8
import { requireSessionUser } from '../middleware/auth.js'
9
import { dashboardPage } from '../controllers/dashboard.js'
10
import { breachesPage } from '../controllers/breaches.js'
11
import { dataRemovalPage } from '../controllers/data-removal.js'
12
import { settingsPage } from '../controllers/settings.js'
13

14
const router = Router()
×
15

16
// dashboard page
17
router.get('/dashboard', requireSessionUser, dashboardPage)
×
18

19
// data breaches detail page
20
router.get('/breaches', requireSessionUser, breachesPage)
×
21

22
// data removal page
23
router.get('/data-removal', requireSessionUser, dataRemovalPage)
×
24

25
// settings page
26
router.get('/settings', requireSessionUser, settingsPage)
×
27

28
export default 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