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

mozilla / blurts-server / #12296

pending completion
#12296

push

circleci

web-flow
Merge pull request #2830 from mozilla/MNTOR-1160/add-new-email

Mntor 1160/add new email

282 of 1332 branches covered (21.17%)

Branch coverage included in aggregate %.

79 of 79 new or added lines in 7 files covered. (100.0%)

959 of 3548 relevant lines covered (27.03%)

2.2 hits per line

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

0.0
/src/routes/index.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 express from 'express'
6
import { landingPage } from '../controllers/landing.js'
7
import { dialog } from '../controllers/dialog.js'
8
import { robotsTxt } from '../middleware/robots.js'
9
import dockerFlowRoutes from './dockerflow.js'
10
import authRoutes from './auth.js'
11
import userRoutes from './user.js'
12
import hibpApiRoutes from './api/v1/hibp.js'
13
import userApiRoutes from './api/v1/user.js'
14
// import adminRoutes from './admin.js'
15
import { notFound } from '../middleware/error.js'
16

17
const router = express.Router()
×
18

19
router.use('/', dockerFlowRoutes)
×
20
router.get('/', landingPage)
×
21
router.get('*/dialog/:name', dialog)
×
22
router.get('/robots.txt', robotsTxt)
×
23
router.use('/oauth', authRoutes)
×
24
router.use('/user', userRoutes)
×
25
// router.use('/admin', adminRoutes)
26
router.use('/api/v1/user/', userApiRoutes)
×
27
router.use('/api/v1/hibp/', hibpApiRoutes)
×
28
router.use(notFound)
×
29

30
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