mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-17 05:20:01 -04:00
t
This commit is contained in:
parent
82f5f76588
commit
2c06fed426
25 changed files with 1131 additions and 604 deletions
|
@ -1,7 +1,7 @@
|
|||
export function prepareResponse({ headers, statusCode, statusMessage }) {
|
||||
const sendHeaders = {
|
||||
'x-bare-headers': JSON.stringify(headers),
|
||||
'x-bare-status': statusCode,
|
||||
'x-bare-status': statusCode.toString(),
|
||||
'x-bare-status-text': statusMessage,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue