Skip to content

Commit

Permalink
Merge pull request #206 from sasjs/save-insecure-setting
Browse files Browse the repository at this point in the history
fix(*): save insecure setting in target config
  • Loading branch information
krishna-acondy authored Aug 21, 2021
2 parents c5c700a + 80254a9 commit b5aff22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/execute-code/internal/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const selectTarget = async (outputChannel: OutputChannel) => {
export const createTarget = async (outputChannel: OutputChannel) => {
const name = await getTargetName()
const serverUrl = await getServerUrl()
const allowInsecure = await getAllowInsecure()
const allowInsecureRequests = await getAllowInsecure()
const serverType = await getServerType()
const clientId = await getClientId()
const clientSecret = await getClientSecret()
Expand All @@ -62,7 +62,7 @@ export const createTarget = async (outputChannel: OutputChannel) => {
serverType: serverType,
appLoc: '/Public/app',
useComputeApi: true,
allowInsecureRequests: allowInsecure,
allowInsecureRequests,
debug: true
})

Expand All @@ -80,6 +80,7 @@ export const createTarget = async (outputChannel: OutputChannel) => {
serverUrl,
serverType,
appLoc: '/Public/app',
allowInsecureRequests,
authConfig: authResponse,
isDefault
})
Expand Down

0 comments on commit b5aff22

Please sign in to comment.