mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
fix: SASJS_WEBOUT_HEADERS path for windows
This commit is contained in:
@@ -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}';
|
||||
|
||||
@@ -23,7 +23,9 @@ _SASJS_SESSION_PATH = '${
|
||||
isWindows() ? session.path.replace(/\\/g, '\\\\') : session.path
|
||||
}';
|
||||
_WEBOUT = '${isWindows() ? weboutPath.replace(/\\/g, '\\\\') : weboutPath}';
|
||||
_SASJS_WEBOUT_HEADERS = '${headersPath}';
|
||||
_SASJS_WEBOUT_HEADERS = '${
|
||||
isWindows() ? headersPath.replace(/\\/g, '\\\\') : headersPath
|
||||
}';
|
||||
_SASJS_TOKENFILE = '${
|
||||
isWindows() ? tokenFile.replace(/\\/g, '\\\\') : tokenFile
|
||||
}';
|
||||
|
||||
@@ -23,7 +23,9 @@ export const createRProgram = async (
|
||||
isWindows() ? session.path.replace(/\\/g, '\\\\') : session.path
|
||||
}';
|
||||
._WEBOUT <- '${isWindows() ? weboutPath.replace(/\\/g, '\\\\') : weboutPath}';
|
||||
._SASJS_WEBOUT_HEADERS <- '${headersPath}';
|
||||
._SASJS_WEBOUT_HEADERS <- '${
|
||||
isWindows() ? headersPath.replace(/\\/g, '\\\\') : headersPath
|
||||
}';
|
||||
._SASJS_TOKENFILE <- '${
|
||||
isWindows() ? tokenFile.replace(/\\/g, '\\\\') : tokenFile
|
||||
}';
|
||||
|
||||
Reference in New Issue
Block a user