add settings to backup
This commit is contained in:
parent
ce9f621b8b
commit
99eafcb352
3 changed files with 25 additions and 11 deletions
|
@ -28,9 +28,13 @@ router.post("/app", async (req, res) => {
|
|||
await setAppIdentity(req, res);
|
||||
});
|
||||
|
||||
router.post("/mail", async (req, res) => {
|
||||
await setMailConfig(req, res);
|
||||
});
|
||||
router.post(
|
||||
"/mail",
|
||||
ParamaterPassCheckHelper.requiredIncludedMiddleware(["mail", "username", "password", "host", "port", "secure"]),
|
||||
async (req, res) => {
|
||||
await setMailConfig(req, res);
|
||||
}
|
||||
);
|
||||
|
||||
router.post("/verify", ParamaterPassCheckHelper.requiredIncludedMiddleware(["mail", "token"]), async (req, res) => {
|
||||
await verifyInvite(req, res);
|
||||
|
@ -52,10 +56,4 @@ router.post(
|
|||
}
|
||||
);
|
||||
|
||||
/**
|
||||
* TODO:
|
||||
* set basic settings like clubname ...
|
||||
* enable upload of images and icons: transform pwa-> 512x512 png / 48x48 ico
|
||||
*/
|
||||
|
||||
export default router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue