mirror of
https://github.com/jakejarvis/jrvs.io.git
synced 2025-04-26 12:18:28 -04:00
Delete netlify.toml
This commit is contained in:
parent
21e245f6b1
commit
820798fc94
40
netlify.toml
40
netlify.toml
@ -1,40 +0,0 @@
|
||||
# redirect root to jarv.is
|
||||
[[redirects]]
|
||||
from = "/"
|
||||
to = "https://jarv.is/"
|
||||
status = 301
|
||||
force = true
|
||||
|
||||
# block miscellaneous files in this repo by returning 404s. stupid way of doing
|
||||
# this, but netlify.toml doesn't support glob paths like we'd want it to:
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# TODO: submit a PR to do so. :)
|
||||
[[redirects]]
|
||||
from = "package.json"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "package-lock.json"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "cli.js"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "README.md"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
||||
[[redirects]]
|
||||
from = "LICENSE.md"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
force = true
|
Loading…
x
Reference in New Issue
Block a user