From c8d125aff7b50360b3da54260824cd67cac73760 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 24 Jul 2021 12:54:27 -0500 Subject: [PATCH] Delee old function --- functions/story-image-axis-svg.js | 60 ------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 functions/story-image-axis-svg.js diff --git a/functions/story-image-axis-svg.js b/functions/story-image-axis-svg.js deleted file mode 100644 index 3ff5027..0000000 --- a/functions/story-image-axis-svg.js +++ /dev/null @@ -1,60 +0,0 @@ -exports.handler = async function(event, context) { - const { - //path, // Path parameter - //httpMethod, // Incoming request’s method name - // headers, // {Incoming request headers} - queryStringParameters, // {query string parameters } - // body, // A JSON string of the request payload - // isBase64Encoded, // A boolean flag to indicate if the applicable request payload is Base64-encode - } = event - - // console.log('queryStringParameters', queryStringParameters) - - const { - width = 200, - height = 100, - heading = 'Does It ARM' - } = queryStringParameters - - return { - statusCode: 200, - headers: { - 'Content-Type': 'image/svg+xml', - }, - body: /* html */` - - - - - - - - - - - - - - - - - - - - - - -
${ heading }
-
-
- ` - } -}