mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 08:53:51 +00:00
ce8d534953
welcome modal is persisted in app state created endpoints to set the visibility added UI to support feature Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com>
11 lines
400 B
TypeScript
11 lines
400 B
TypeScript
import express from 'express';
|
|
import { getSettings, postSettings, postWelcomeDialog } from './settings.controller.js';
|
|
import { validateSettings, validateWelcomeDialog } from './settings.validation.js';
|
|
|
|
export const router = express.Router();
|
|
|
|
router.post('/welcomedialog', validateWelcomeDialog, postWelcomeDialog);
|
|
|
|
router.get('/', getSettings);
|
|
router.post('/', validateSettings, postSettings);
|