diff --git a/packages/frontend-2/.env.example b/packages/frontend-2/.env.example index 3a50e3cdf..0620e22df 100644 --- a/packages/frontend-2/.env.example +++ b/packages/frontend-2/.env.example @@ -32,7 +32,7 @@ NUXT_PUBLIC_DATADOG_ENV= NUXT_PUBLIC_DEBUG_CORE_WEB_VITALS=false # Enable Speckle Automate functionality -NUXT_PUBLIC_ENABLE_AUTOMATE_MODULE=false +NUXT_PUBLIC_FF_AUTOMATE_MODULE_ENABLED=false # Intercom App ID NUXT_PUBLIC_INTERCOM_APP_ID= diff --git a/packages/frontend-2/components/project/page/automation/TestAutomationInfo.vue b/packages/frontend-2/components/project/page/automation/TestAutomationInfo.vue index 44899d3da..7c250a013 100644 --- a/packages/frontend-2/components/project/page/automation/TestAutomationInfo.vue +++ b/packages/frontend-2/components/project/page/automation/TestAutomationInfo.vue @@ -78,14 +78,16 @@ const environment = computed(() => { ].join('\n') } case 'dotnet': { - return [ - '{', - ' "SpeckleToken": "YOUR-TOKEN-HERE"', - ` "SpeckleServerUrl": "${origin}"`, - ` "SpeckleProjectId": "${props.projectId}"`, - ` "SpeckleAutomationId": "${props.automationId}"`, - '}' - ].join('\n') + return JSON.stringify( + { + SpeckleToken: 'YOUR-TOKEN-HERE', + SpeckleServerUrl: origin, + SpeckleProjectId: props.projectId, + SpeckleAutomationId: props.automationId + }, + null, + 2 + ) } default: { return ''