Start a basic netlify _redirects file (#2064)

This commit is contained in:
Jesse Hills 2022-05-11 09:31:34 +12:00 committed by GitHub
parent e3482a860d
commit 564aa0d9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

4
_redirects Normal file
View File

@ -0,0 +1,4 @@
/esphomeyaml/* /:splat 301
# Moved components
# e.g: /components/sensors/abc.html /components/sensors/xyz.html 301

View File

@ -11,8 +11,3 @@
[context.production]
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
# A basic redirect rule
[[redirects]]
from = "/esphomeyaml/*"
to = "/:splat"