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

fix: SASJS_WEBOUT_HEADERS path for windows

This commit is contained in:
2022-09-19 15:53:51 +05:00
parent a9c9b734f5
commit 0749d65173
3 changed files with 9 additions and 3 deletions

View File

@@ -27,7 +27,9 @@ const weboutPath = '${
const _SASJS_TOKENFILE = '${
isWindows() ? tokenFile.replace(/\\/g, '\\\\') : tokenFile
}';
const _SASJS_WEBOUT_HEADERS = '${headersPath}';
const _SASJS_WEBOUT_HEADERS = '${
isWindows() ? headersPath.replace(/\\/g, '\\\\') : headersPath
}';
const _SASJS_USERNAME = '${preProgramVariables?.username}';
const _SASJS_USERID = '${preProgramVariables?.userId}';
const _SASJS_DISPLAYNAME = '${preProgramVariables?.displayName}';