mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
64 lines
1 KiB
TOML
64 lines
1 KiB
TOML
[build]
|
|
publish = "dist/"
|
|
command = "npm run generate --quiet"
|
|
functions = "netlify/functions/"
|
|
|
|
|
|
|
|
[build.environment]
|
|
NPM_FLAGS = "--no-optional"
|
|
CI = "1"
|
|
|
|
|
|
# https://docs.netlify.com/configure-builds/file-based-configuration/#redirects
|
|
|
|
# old node redirect
|
|
[[redirects]]
|
|
from = "/app/node"
|
|
to = "/app/nodejs"
|
|
status = 301
|
|
|
|
# old git redirect
|
|
[[redirects]]
|
|
from = "/app/git"
|
|
to = "/app/git-version-control"
|
|
status = 301
|
|
|
|
# old electron redirect
|
|
[[redirects]]
|
|
from = "/app/electron"
|
|
to = "/app/electron-framework"
|
|
status = 301
|
|
|
|
|
|
# imac redirect
|
|
[[redirects]]
|
|
from = "/device/apple-silicon-imac"
|
|
to = "/device/m1-imac/"
|
|
status = 307
|
|
|
|
|
|
# Category Redirects
|
|
[[redirects]]
|
|
from = "/kind/entertainment"
|
|
to = "/kind/entertainment-and-media-apps/"
|
|
status = 301
|
|
|
|
[[redirects]]
|
|
from = "/kind/photo-tools"
|
|
to = "/kind/photo-and-graphic-tools/"
|
|
status = 301
|
|
|
|
|
|
# Other Redirects
|
|
|
|
# Random broken link from Chinese sites
|
|
[[redirects]]
|
|
from = "/。"
|
|
to = "/"
|
|
status = 301
|
|
|
|
[[redirects]]
|
|
from = "/%E3%80%82"
|
|
to = "/"
|
|
status = 301
|