From 427e46a7029498fe58796daf7619071c671e5c24 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 4 Mar 2024 15:13:31 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20Neaten=20build=20environment=20opti?= =?UTF-8?q?ons=20in=20Netlify=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- netlify.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/netlify.toml b/netlify.toml index 9aca41e9..9da589bd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,14 +8,12 @@ command = "yarn build" publish = "dist" functions = "services/serverless-functions" - environment = { NODE_VERSION = "20.11.1", NODE_OPTIONS = "--openssl-legacy-provider", YARN_FLAGS = "--ignore-engines" } -# Site info, used for the 1-Click deploy page -[template.environment] - STATUSKIT_PAGE_TITLE = "Dashy" - 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" +# Environmental variables for build command +[build.environment] + NODE_VERSION = "20.11.1" + NODE_OPTIONS = "--openssl-legacy-provider" + YARN_FLAGS = "--ignore-engines" # Redirect the Node endpoints to serverless functions [[redirects]]