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"