Skip to content

Commit

Permalink
fix: 404 error on Netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir committed Oct 2, 2019
1 parent dec16f5 commit ecca6e8
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions netlify.toml
@@ -1,4 +1,11 @@
[build]
base = "/"
publish = "public"
command = "yarn build"
publish = "public/"
command = "yarn build"

# Redirect rule defined in "_redirect" isn't working.
# using netlify.toml instead.
# Refer to the documentation - https://www.netlify.com/docs/netlify-toml-reference/#getting-started
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

0 comments on commit ecca6e8

Please sign in to comment.