• 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/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 { robotsTxt } from '../middleware/robots.js'
8
import authRoutes from './auth.js'
9
import userRoutes from './user.js'
10
import hibpApiRoutes from './api/v1/hibp.js'
11
import userApiRoutes from './api/v1/user.js'
12
// import adminRoutes from './admin.js'
13
import { notFound } from '../middleware/error.js'
14

15
const router = express.Router()
×
16

17
router.get('/', landingPage)
×
18
router.get('/robots.txt', robotsTxt)
×
19
router.use('/oauth', authRoutes)
×
20
router.use('/user', userRoutes)
×
21
// router.use('/admin', adminRoutes)
22
router.use('/api/v1/user/', userApiRoutes)
×
23
router.use('/api/v1/hibp/', hibpApiRoutes)
×
24
router.use(notFound)
×
25

26
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