Main Merge Stable #29

Merged
Sirherobrine23 merged 10 commits from main into stable 2021-02-08 23:47:47 +00:00
11 changed files with 183 additions and 1678 deletions
Showing only changes of commit 2625aaec0e - Show all commits

View File

@ -21,6 +21,9 @@ module.exports = () => {
app.use(limiter); app.use(limiter);
const bodyParser = require("body-parser"); const bodyParser = require("body-parser");
app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.urlencoded({ extended: true }));
app.get("/configs", (req, res) => {
return res.send(bds.get_config());
});
app.get("/info", (req, res) => { app.get("/info", (req, res) => {
const text = fs.readFileSync(localStorage.getItem("old_log_file"), "utf8"); const text = fs.readFileSync(localStorage.getItem("old_log_file"), "utf8");
const versions = bds.version_raw const versions = bds.version_raw