mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
Added prestart script.
This commit is contained in:
parent
de3bf23e4c
commit
777dfeac0e
5 changed files with 28 additions and 13 deletions
|
|
@ -6,7 +6,7 @@ export function json(res, data = {}) {
|
|||
return res.status(200).json(data);
|
||||
}
|
||||
|
||||
export function send(res, data, type = 'text-plain') {
|
||||
export function send(res, data, type = 'text/plain') {
|
||||
res.setHeader('Content-Type', type);
|
||||
|
||||
return res.status(200).send(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue