Start a basic netlify _redirects file (#2064)
This commit is contained in:
parent
e3482a860d
commit
564aa0d9f4
|
@ -0,0 +1,4 @@
|
||||||
|
/esphomeyaml/* /:splat 301
|
||||||
|
|
||||||
|
# Moved components
|
||||||
|
# e.g: /components/sensors/abc.html /components/sensors/xyz.html 301
|
|
@ -11,8 +11,3 @@
|
||||||
|
|
||||||
[context.production]
|
[context.production]
|
||||||
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
|
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
|
||||||
|
|
||||||
# A basic redirect rule
|
|
||||||
[[redirects]]
|
|
||||||
from = "/esphomeyaml/*"
|
|
||||||
to = "/:splat"
|
|
||||||
|
|
Loading…
Reference in New Issue