mirror of
https://github.com/sasjs/server.git
synced 2026-01-09 07:20:05 +00:00
fix: add a new variable _SASJS_WEBOUT_HEADERS to code.js and code.py
This commit is contained in:
@@ -89,6 +89,8 @@ export class ExecutionController {
|
||||
tokenFile,
|
||||
preProgramVariables?.httpHeaders.join('\n') ?? ''
|
||||
)
|
||||
if (returnJson)
|
||||
await createFile(headersPath, 'Content-type: application/json')
|
||||
|
||||
await processProgram(
|
||||
program,
|
||||
@@ -96,6 +98,7 @@ export class ExecutionController {
|
||||
vars,
|
||||
session,
|
||||
weboutPath,
|
||||
headersPath,
|
||||
tokenFile,
|
||||
runTime,
|
||||
logPath,
|
||||
|
||||
Reference in New Issue
Block a user