feat(webui): change server config through UI #294

Merged
VampireKitten merged 7 commits from vamp-dev into main 2024-06-14 15:38:12 -07:00
Showing only changes of commit 31469424f1 - Show all commits

View File

@ -3,7 +3,7 @@ import path from "path";
import fs from "fs";
const rootDir = path.join(__dirname, "../../..");
const updateConfigData: RequestHandler = async (req) => {
const updateConfigData: RequestHandler = (req) => {
const updateSettingsData = req.body;
fs.writeFile(path.join(rootDir, "config.json"), updateSettingsData, function(err:any) {