Skip to content

Commit 564aa0d

Browse files
authored
Start a basic netlify _redirects file (esphome#2064)
1 parent e3482a8 commit 564aa0d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

_redirects

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/esphomeyaml/* /:splat 301
2+
3+
# Moved components
4+
# e.g: /components/sensors/abc.html /components/sensors/xyz.html 301

netlify.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,3 @@
1111

1212
[context.production]
1313
environment = { BASE_URL = "https://esphome.io", PRODUCTION = "YES" }
14-
15-
# A basic redirect rule
16-
[[redirects]]
17-
from = "/esphomeyaml/*"
18-
to = "/:splat"

0 commit comments

Comments
 (0)