diff --git a/package.json b/package.json index 33d580d..320344a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lambdatest/smartui-cli", - "version": "4.1.25", + "version": "4.1.26", "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest", "files": [ "dist/**/*" diff --git a/src/lib/server.ts b/src/lib/server.ts index 0f0ef21..fb8ca80 100644 --- a/src/lib/server.ts +++ b/src/lib/server.ts @@ -7,6 +7,7 @@ import { validateSnapshot } from './schemaValidation.js' import { pingIntervalId } from './utils.js'; import { startPolling } from './utils.js'; +const uploadDomToS3ViaEnv = process.env.USE_LAMBDA_INTERNAL || false; export default async (ctx: Context): Promise> => { const server: FastifyInstance = fastify({ @@ -105,8 +106,16 @@ export default async (ctx: Context): Promise