Ensure SPA urls don't 404

This commit is contained in:
Jordan Eldredge 2018-11-26 23:31:52 -08:00
parent 04cd690bf1
commit e1cfb5d81b

19
netlify.toml Normal file
View file

@ -0,0 +1,19 @@
[Settings]
# Added automatically by the Netlify CLI. It has no effect during normal
# Git-backed deploys.
ID = "be420a16-4ef3-43b1-ac62-35869bdf8679"
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build.
publish = "build/"
# Default build command.
command = "npm run build"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200