Added prestart script.
This commit is contained in:
1 parent
de3bf23e4c
commit
777dfeac0e
5 files changed
+28
-13
No files matched your search
+1
-1
@@ -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