Added prestart script.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user