mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-14 23:50:06 +00:00
fix(job-execution): support relative paths with web approach
This commit is contained in:
@@ -793,8 +793,10 @@ export default class SASjs {
|
|||||||
SASjob: sasJob,
|
SASjob: sasJob,
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
const program = config.appLoc
|
const program = isRelativePath(sasJob)
|
||||||
? config.appLoc.replace(/\/?$/, '/') + sasJob.replace(/^\//, '')
|
? config.appLoc
|
||||||
|
? config.appLoc.replace(/\/?$/, '/') + sasJob.replace(/^\//, '')
|
||||||
|
: sasJob
|
||||||
: sasJob
|
: sasJob
|
||||||
const jobUri =
|
const jobUri =
|
||||||
config.serverType === ServerType.SASViya
|
config.serverType === ServerType.SASViya
|
||||||
|
|||||||
Reference in New Issue
Block a user