Compare View
Commits (2)
Changes
Showing 2 changed files Side-by-side Diff
.gitignore
lib/http-server/index.js
... | ... | @@ -11,7 +11,6 @@ const checkApikey = require('./middlewares/check-apikey'); |
11 | 11 | const routerMatrix = require('./routers/matrix'); |
12 | 12 | const routerUpdates = require('./routers/updates'); |
13 | 13 | const routerProducts = require('./routers/products'); |
14 | -const routerPostpaidProducts = require('./routers/postpaid-products'); | |
15 | 14 | |
16 | 15 | const app = express(); |
17 | 16 | |
... | ... | @@ -25,7 +24,6 @@ app.use((req, res, next) => { |
25 | 24 | app.use('/matrix', routerMatrix); |
26 | 25 | app.use('/apikey/:apikey/updates', [checkApikey], routerUpdates); |
27 | 26 | app.use('/apikey/:apikey/products', [checkApikey], routerProducts); |
28 | -app.use('/apikey/:apikey/postpaid/products', [checkApikey], routerPostpaidProducts); | |
29 | 27 | |
30 | 28 | app.use((req, res) => { |
31 | 29 | res.status(404).json({ |