mirror of
https://github.com/jakejarvis/jrvs.io.git
synced 2025-04-26 19:18:29 -04:00
Update netlify.toml
This commit is contained in:
parent
90462723c1
commit
d4bd5403bd
@ -1,8 +1,7 @@
|
|||||||
# redirect root to jarv.is
|
# redirect root to jarv.is
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/"
|
from = "/"
|
||||||
to = "https://jarv.is/?utm_source=jrvs"
|
to = "https://jarv.is/?utm_source=jrvs.io"
|
||||||
status = 301
|
status = 301
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
@ -12,32 +11,28 @@
|
|||||||
# https://community.netlify.com/t/immutable-images-how-do-i-specify-paths-for-all-images-in-directory-tree-in-headers/10583/4
|
# https://community.netlify.com/t/immutable-images-how-do-i-specify-paths-for-all-images-in-directory-tree-in-headers/10583/4
|
||||||
#
|
#
|
||||||
# ...and netlify-shortener doesn't support placing _redirects in a subdirectory.
|
# ...and netlify-shortener doesn't support placing _redirects in a subdirectory.
|
||||||
|
#
|
||||||
# TODO: submit a PR to do so. :)
|
# TODO: submit a PR to do so. :)
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "package.json"
|
from = "package.json"
|
||||||
to = "/404.html"
|
to = "/404.html"
|
||||||
status = 404
|
status = 404
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "package-lock.json"
|
from = "package-lock.json"
|
||||||
to = "/404.html"
|
to = "/404.html"
|
||||||
status = 404
|
status = 404
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "cli.js"
|
from = "cli.js"
|
||||||
to = "/404.html"
|
to = "/404.html"
|
||||||
status = 404
|
status = 404
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "README.md"
|
from = "README.md"
|
||||||
to = "/404.html"
|
to = "/404.html"
|
||||||
status = 404
|
status = 404
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "LICENSE.md"
|
from = "LICENSE.md"
|
||||||
to = "/404.html"
|
to = "/404.html"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user