From dad97d0117365839cddb003e59c89992f66ae862 Mon Sep 17 00:00:00 2001 From: MattTheTekie <94870997+MattTheTekie@users.noreply.github.com> Date: Sat, 12 Jul 2025 19:49:33 -0400 Subject: [PATCH] Update netlify.toml --- netlify.toml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/netlify.toml b/netlify.toml index 4cbae19d..d38483a1 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,14 +8,12 @@ command = "yarn build" publish = "dist" functions = "services/serverless-functions" - environment = { NODE_VERSION = "16.13.2" } -# 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]] @@ -46,4 +44,3 @@ [headers.values] # Uncomment to enable Netlify user control. Requires premium plan. # Basic-Auth = "someuser:somepassword anotheruser:anotherpassword" -