Skip to content

Commit

Permalink
Set node version for skin museum Netlify deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Apr 21, 2024
1 parent cf4f4bb commit c84438c
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions packages/skin-museum-client/netlify.toml
Expand Up @@ -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

0 comments on commit c84438c

Please sign in to comment.