From 359595b3b37f3f320bd32ae949ed9aafa9365953 Mon Sep 17 00:00:00 2001 From: Adam Janis Date: Sun, 15 Nov 2020 00:35:47 +0100 Subject: [PATCH] chore(wrangler): cleanup --- src/functions/helpers.js | 2 +- wrangler.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/helpers.js b/src/functions/helpers.js index 51e8ffd..3a2cfcf 100644 --- a/src/functions/helpers.js +++ b/src/functions/helpers.js @@ -99,7 +99,7 @@ export async function notifySlack(monitor, newMetadata) { type: 'mrkdwn', text: `${ newMetadata.operational ? ':white_check_mark:' : ':x:' - } \`${monitor.method} ${monitor.url}\` - :eyes: <${ + } \`${monitor.method ? monitor.method : "GET"} ${monitor.url}\` - :eyes: <${ config.settings.url }|Status Page>`, }, diff --git a/wrangler.toml b/wrangler.toml index a9b6390..509a63c 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -13,6 +13,6 @@ entry-point = "./" # uncomment and adjust following if you are not using GitHub Actions #[env.production] -#kv-namespaces = [{binding="KV_GITHUB_RELEASES", id="xxxx", preview_id=""}] +#kv-namespaces = [{binding="KV_STATUS_PAGE", id="xxxx", preview_id=""}] #zone_id="xxx" #route="xxx"