1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-13 00:50:06 +00:00

Merge branch 'issue16-session' of github.com:sasjs/server into issue16-session

Conflicts:
	src/routes/index.ts
	src/utils/upload.ts
This commit is contained in:
Mihajlo Medjedovic
2021-10-15 12:57:20 +00:00
4 changed files with 23 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ export class ExecutionController {
let webout = path.join(session.path, 'webout.txt')
await createFile(webout, '')
program = `
%let sasjsprocessmode=Stored Program;
filename _webout "${webout}";
@@ -89,7 +89,7 @@ ${program}`
(key: string) => key.toLowerCase() === '_debug'
)
if (debug && vars[debug] >= 131 || stderr) {
if ((debug && vars[debug] >= 131) || stderr) {
webout = `<html><body>
${webout}
<div style="text-align:left">
@@ -98,7 +98,7 @@ ${webout}
</div>
</body></html>`
}
session.inUse = false
sessionController.deleteSession(session)