deemixer/server/dist/routes/api/get/getSettings.js

10 lines
334 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
2021-05-23 20:42:02 +00:00
const main_1 = require("../../../main");
const path = '/getSettings';
const handler = (_, res) => {
2021-05-23 20:42:02 +00:00
res.send({ settings: main_1.settings, defaultSettings: main_1.defaultSettings });
};
const apiHandler = { path, handler };
exports.default = apiHandler;