mirror of
https://github.com/sasjs/adapter.git
synced 2025-12-11 09:24:35 +00:00
Merge pull request #638 from sasjs/sasjsconfig-pathsasjs
fix: made pathsasjs non optional in sasjs config
This commit is contained in:
@@ -6,6 +6,7 @@ const stringData: any = { table1: [{ col1: 'first col value' }] }
|
|||||||
|
|
||||||
const defaultConfig: SASjsConfig = {
|
const defaultConfig: SASjsConfig = {
|
||||||
serverUrl: window.location.origin,
|
serverUrl: window.location.origin,
|
||||||
|
pathSASJS: '/SASjsApi/stp/execute',
|
||||||
pathSAS9: '/SASStoredProcess/do',
|
pathSAS9: '/SASStoredProcess/do',
|
||||||
pathSASViya: '/SASJobExecution',
|
pathSASViya: '/SASJobExecution',
|
||||||
appLoc: '/Public/seedapp',
|
appLoc: '/Public/seedapp',
|
||||||
|
|||||||
@@ -1031,7 +1031,7 @@ export default class SASjs {
|
|||||||
? this.sasjsConfig.pathSASViya
|
? this.sasjsConfig.pathSASViya
|
||||||
: this.sasjsConfig.serverType === ServerType.Sas9
|
: this.sasjsConfig.serverType === ServerType.Sas9
|
||||||
? this.sasjsConfig.pathSAS9
|
? this.sasjsConfig.pathSAS9
|
||||||
: this.sasjsConfig.pathSASJS || ''
|
: this.sasjsConfig.pathSASJS
|
||||||
|
|
||||||
this.authManager = new AuthManager(
|
this.authManager = new AuthManager(
|
||||||
this.sasjsConfig.serverUrl,
|
this.sasjsConfig.serverUrl,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export class SASjsConfig {
|
|||||||
* The location of the STP Process Web Application. By default the adapter
|
* The location of the STP Process Web Application. By default the adapter
|
||||||
* will use '/SASjsApi/stp/execute' on SAS JS.
|
* will use '/SASjsApi/stp/execute' on SAS JS.
|
||||||
*/
|
*/
|
||||||
pathSASJS?: string = ''
|
pathSASJS: string = ''
|
||||||
/**
|
/**
|
||||||
* The location of the Stored Process Web Application. By default the adapter
|
* The location of the Stored Process Web Application. By default the adapter
|
||||||
* will use '/SASStoredProcess/do' on SAS 9.
|
* will use '/SASStoredProcess/do' on SAS 9.
|
||||||
|
|||||||
Reference in New Issue
Block a user