Set node version for skin museum Netlify deploy

This commit is contained in:
Jordan Eldredge 2024-04-21 12:09:11 -07:00
parent cf4f4bb3b4
commit c84438ced8

View file

@ -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