Prepared the config.js route

This commit is contained in:
Mathias Wagner
2022-04-06 20:07:49 +02:00
parent 0c30324b51
commit fa8f628f43

15
server/routes/config.js Normal file
View File

@@ -0,0 +1,15 @@
const app = require('express').Router();
app.get("/", (req, res) => {
// TODO: Show all config values except the password
});
app.get("/:key", (req, res) => {
// TODO: Shows a specific configuration value by key
});
app.patch("/:key", (req, res) => {
// TODO: Updates a specific configuration value by key
});
module.exports = app;