mirror of
https://github.com/sasjs/server.git
synced 2025-12-11 19:44:35 +00:00
fix: webout path fixed in code.js when running on windows
This commit is contained in:
@@ -19,7 +19,11 @@ export const createJSProgram = async (
|
|||||||
|
|
||||||
const preProgramVarStatments = `
|
const preProgramVarStatments = `
|
||||||
let _webout = '';
|
let _webout = '';
|
||||||
const weboutPath = '${weboutPath}';
|
const weboutPath = '${
|
||||||
|
process.platform === 'win32'
|
||||||
|
? weboutPath.replace(/\\/g, '\\\\')
|
||||||
|
: weboutPath
|
||||||
|
}';
|
||||||
const _sasjs_tokenfile = '${tokenFile}';
|
const _sasjs_tokenfile = '${tokenFile}';
|
||||||
const _sasjs_username = '${preProgramVariables?.username}';
|
const _sasjs_username = '${preProgramVariables?.username}';
|
||||||
const _sasjs_userid = '${preProgramVariables?.userId}';
|
const _sasjs_userid = '${preProgramVariables?.userId}';
|
||||||
|
|||||||
Reference in New Issue
Block a user