mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
51 lines
845 B
TOML
51 lines
845 B
TOML
[build]
|
|
publish = "dist/"
|
|
command = "npm run generate --quiet"
|
|
# functions = "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
|
|
|
|
|
|
# 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
|