AppReports/lib/api/index.js

20 lines
498 B
JavaScript
Raw Normal View History

2020-08-19 12:33:09 +02:00
/*
* Copyright (C) Sapphirecode - All Rights Reserved
* This file is part of appreports which is released under GPL-3.0-or-later.
* See file 'LICENSE' for full license details.
* Created by Timo Hocker <timo@scode.ovh>, August 2020
*/
2020-07-29 20:56:03 +02:00
'use strict';
const router = require ('express')
.Router ();
2020-08-22 12:41:47 +02:00
router.use(require('./dump'));
2020-07-29 21:13:18 +02:00
router.get ('/log', require ('./get-log'));
2020-08-16 11:48:06 +02:00
router.get ('/app', require ('./get-app'));
2020-07-29 21:13:18 +02:00
2020-08-19 12:43:22 +02:00
router.post ('/log', require ('./post-log'));
2020-07-29 21:13:18 +02:00
module.exports = router;