From b70e2f6e17370bd46613a81a6906ca7c4cb7e740 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sun, 21 Aug 2022 10:44:34 -0500 Subject: [PATCH] Get app test via axios --- scripts/vercel-post-deploy/index.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/vercel-post-deploy/index.js b/scripts/vercel-post-deploy/index.js index 211acc9..82236d0 100644 --- a/scripts/vercel-post-deploy/index.js +++ b/scripts/vercel-post-deploy/index.js @@ -1,13 +1,10 @@ +import axios from 'axios' +;(async () => { -const rootThis = this + const { data } = await axios.get(`https://master--doesitarm.netlify.app/apple-silicon-app-test`) -;(async function () { - console.log( 'process.env', process.env ) - console.log( 'global', global ) - console.log( 'globalThis', globalThis ) - - console.log( 'rootThis', rootThis ) + console.log( data.slice(0, 100) ) process.exit() })()