This repository has been archived on 2025-12-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
qmi-cloud/server/routes/api-config.js
2025-02-10 13:59:32 +01:00

14 lines
311 B
JavaScript

const express = require('express')
const router = express.Router()
const qmiConfig = require('@QMI/qmi-cloud-common/qmi-config').qmiConfig;
router.get('/', async (req, res, next) => {
try {
return res.json(qmiConfig());
} catch (error) {
next(error);
}
});
module.exports = router;