AppReports/lib/api/index.js
2020-08-23 13:08:04 +02:00

20 lines
500 B
JavaScript

/*
* 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
*/
'use strict';
const router = require ('express')
.Router ();
router.use (require ('./dump'));
router.get ('/log', require ('./get-log'));
router.get ('/app', require ('./get-app'));
router.post ('/log', require ('./post-log'));
module.exports = router;