mirror of
https://github.com/sasjs/server.git
synced 2026-07-24 05:32:15 +00:00
fix: update the response header of request to stp/execute routes
This commit is contained in:
@@ -91,6 +91,8 @@ const execute = async (
|
||||
}
|
||||
)
|
||||
|
||||
req.res?.header(httpHeaders)
|
||||
|
||||
if (result instanceof Buffer) {
|
||||
;(req as any).sasHeaders = httpHeaders
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user