mirror of
https://github.com/sasjs/server.git
synced 2026-01-05 05:40:06 +00:00
fix: update the response header of request to stp/execute routes
This commit is contained in:
@@ -78,6 +78,11 @@ export class ExecutionController {
|
||||
|
||||
const logPath = path.join(session.path, 'log.log')
|
||||
const headersPath = path.join(session.path, 'stpsrv_header.txt')
|
||||
|
||||
if (isDebugOn(vars)) {
|
||||
await createFile(headersPath, 'content-type: text/plain')
|
||||
}
|
||||
|
||||
const weboutPath = path.join(session.path, 'webout.txt')
|
||||
const tokenFile = path.join(session.path, 'reqHeaders.txt')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user