From 8d9e29d600d07c4351be3d8d2b32b967a1e9aa19 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 25 Jun 2023 15:49:16 +0100 Subject: [PATCH] Updates paths in Netlify config for serverless lambda --- netlify.toml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/netlify.toml b/netlify.toml index 2d7bc48..47e217f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,33 +2,20 @@ [build] base = "/" command = "yarn build" - publish = "dist" + publish = "build" functions = "server/lambda" [build.environment] - GO_IMPORT_PATH="github.com/netlify/next-function" - GO_VERSION="1.15" NODE_VERSION = "16.13.2" # Site info, used for the 1-Click deploy page [template.environment] - # STATUSKIT_PAGE_TITLE = "Web Check" - # STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/logo.png" - # STATUSKIT_SUPPORT_CONTACT_LINK = "https://github.com/lissy93/dashy" - # STATUSKIT_RESOURCES_LINK = "https://dashy.to/docs" + STATUSKIT_PAGE_TITLE = "Web Check" + STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/web-check/master/public/apple-touch-icon.png" + STATUSKIT_SUPPORT_CONTACT_LINK = "https://github.com/lissy93/web-check" # Redirect the Node endpoints to serverless functions -# [[redirects]] -# from = "/status-check" -# to = "/.netlify/functions/cloud-status-check" -# status = 301 -# force = true -# [[redirects]] -# from = "/config-manager/*" -# to = "/.netlify/functions/not-supported" -# status = 301 -# force = true [[redirects]] from = "/api" to = "/.netlify/functions/web-check"