From c84438ced88601227d0cd8252acf7f430439243c Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 21 Apr 2024 12:09:11 -0700 Subject: [PATCH] Set node version for skin museum Netlify deploy --- packages/skin-museum-client/netlify.toml | 43 ++++++++++++------------ 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/packages/skin-museum-client/netlify.toml b/packages/skin-museum-client/netlify.toml index 074a0afb62..188083dc5e 100644 --- a/packages/skin-museum-client/netlify.toml +++ b/packages/skin-museum-client/netlify.toml @@ -6,36 +6,35 @@ ID = "be420a16-4ef3-43b1-ac62-35869bdf8679" # Settings in the [build] context are global and are applied to all contexts # unless otherwise overridden by more specific contexts. [build] - # Directory (relative to root of your repo) that contains the deploy-ready - # HTML files and assets generated by the build. - publish = "build/" +# Directory (relative to root of your repo) that contains the deploy-ready +# HTML files and assets generated by the build. +publish = "build/" - # Default build command. - command = "yarn build" - ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../webamp/" +# Default build command. +command = "yarn build" +ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../webamp/" [build.environment] - NODE_VERSION = "16.17.1" - NETLIFY_USE_YARN = "true" - +NODE_VERSION = "20" +NETLIFY_USE_YARN = "true" [[redirects]] - from = "/sitemap*" - to = "https://api.webampskins.org/sitemap:splat" - status = 200 +from = "/sitemap*" +to = "https://api.webampskins.org/sitemap:splat" +status = 200 [[redirects]] - from = "/" - query = {query = ":query"} - to = "https://winamp-skin-museum.jordan1320.workers.dev//" - status = 200 +from = "/" +query = { query = ":query" } +to = "https://winamp-skin-museum.jordan1320.workers.dev//" +status = 200 [[redirects]] - from = "/skin/*" - to = "https://winamp-skin-museum.jordan1320.workers.dev//skin/:splat" - status = 200 +from = "/skin/*" +to = "https://winamp-skin-museum.jordan1320.workers.dev//skin/:splat" +status = 200 [[redirects]] - from = "/*" - to = "/index.html" - status = 200 +from = "/*" +to = "/index.html" +status = 200